GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Test Runner presets · Issue #63 · coderoad/coderoad-cli

Test Runner presets #63

New issue
Copy link
New issue
Copy link
Open
Open
Test Runner presets#63
Copy link
Assignees
ShMcK

Description

@ShMcK
ShMcK
opened on May 17, 2020
Issue body actions

Simplify the test runner config setup based on the test runner.

Eg. Make a "mocha" test runner preset, rather than a recipe.

As an example:

{
 "testRunner": {
        "command": "./node_modules/.bin/mocha",
        "args": {
          "filter": "--grep",
          "tap": "--reporter=mocha-tap-reporter"
        }
}

Mocha requires:

  1. installed dependencies npm install mocha
  2. a reporter for TAP (currently from npm install mocha-tap-reporter)
  3. capture commands for filtering tests by a regex (--grep).
  4. package.json script to call "mocha"

All of this could be captured in a commit, and a testRunner config.

Activity

  1. ShMcK
    self-assigned this
    on May 17, 2020
  2. ShMcK
    transferred this issue fromcoderoad/coderoad-vscodeon Jul 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @ShMcK
    ShMcK

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402520 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.