Skip to content

v0.7.0

Compare
Choose a tag to compare
@ShMcK ShMcK released this 21 May 03:29
· 596 commits to master since this release
  • Style fixes for tables & bold markdown

  • Support loading subtasks (#340). Subtasks are a list of tests that need to pass before a task is complete. They can be loaded by:

  1. filtering down to a subset of tests by setting the step.setup.filter to a regex pattern that matches the tests you're targeting
  2. setting the step.setup.subtasks variable to true

See an example here: https://github.com/ShMcK/coderoad-tutorial-subtask-demo

  • Change for the test runner config. Changes are backwards compatible.
  1. testRunner.path=> testRunner.directory
  2. testRunner.actions => testRunner.setup
  3. Change command to capture args for "TAP" support, and test "filter"ing support. These changes will help lead to specific test suite presets in the future.
{
  "testRunner": {
    "command": "mocha",
    "args": {
      "filter": "--grep",
      "tap": "--reporter=mocha-tap-reporter"
    },
    "directory": ".coderoad",
    "setup": {
      "commits": ["410bd4f"],
      "commands": ["npm install"]
    }
  }
}