@@ -125,3 +125,33 @@ CODEROAD_TUTORIAL_URL='path/to/tutorial_config_file.json' // will load directly
125
125
## [0.6.1]
126
126
127
127
- Replace checkboxes with icons
128
+
129
+
## [0.7.0]
130
+
131
+
- Support loading subtasks (#340). Subtasks are a list of tests that need to pass before a task is complete. They can be loaded by:
132
+
133
+
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
134
+
2. setting the `step.setup.subtasks` variable to true
135
+
136
+
- Change for the test runner config. Changes are backwards compatible.
137
+
138
+
1. `testRunner.path`=> `testRunner.directory`
139
+
2. `testRunner.actions` => `testRunner.setup`
140
+
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.
141
+
142
+
```json
143
+
{
144
+
"testRunner": {
145
+
"command": "mocha",
146
+
"args": {
147
+
"filter": "--grep",
148
+
"tap": "--reporter=mocha-tap-reporter"
149
+
},
150
+
"directory": ".coderoad",
151
+
"setup": {
152
+
"commits": ["410bd4f"],
153
+
"commands": ["npm install"]
154
+
}
155
+
}
156
+
}
157
+
```
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@
45
45
"@typescript-eslint/parser": "^2.33.0",
46
46
"chokidar": "^3.4.0",
47
47
"dotenv": "^8.2.0",
48
-
"eslint": "^7.0.0",
48
+
"eslint": "^6.8.0",
49
49
"eslint-config-prettier": "^6.11.0",
50
50
"eslint-plugin-prettier": "^3.1.3",
51
51
"git-url-parse": "^11.1.2",
Original file line number
Diff line number
Diff line change
@@ -10,10 +10,10 @@ import logger from '../services/logger'
10
10
interfaceSetupActions{
11
11
actions: TT.StepActions
12
12
send: (action: T.Action)=>void// send messages to client
0 commit comments