@rickycourtes/mdtest 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/README.md +3 -2
- package/package.json +3 -4
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -277,8 +277,9 @@ const summary = await run({ rootDir: '.', reporter: defaultReporter() });
|
|
|
277
277
|
process.exitCode = summary.success ? 0 : 1;
|
|
278
278
|
```
|
|
279
279
|
|
|
280
|
-
`run` accepts a `verify(test, options)` function in place of Claude
|
|
281
|
-
|
|
280
|
+
`run` accepts a `verify(test, options)` function in place of Claude, for
|
|
281
|
+
example to try a reporter without API calls. mdtest's own tests are Markdown
|
|
282
|
+
files in `tests/`.
|
|
282
283
|
|
|
283
284
|
## Try the example
|
|
284
285
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rickycourtes/mdtest",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Tests written in Markdown, checked by Claude. A Jest-style runner with no test code: describe behaviour in plain language and Claude verifies it against your project.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -18,9 +18,8 @@
|
|
|
18
18
|
"CHANGELOG.md"
|
|
19
19
|
],
|
|
20
20
|
"scripts": {
|
|
21
|
-
"test": "node
|
|
22
|
-
"example": "node bin/mdtest.js --rootDir example"
|
|
23
|
-
"prepublishOnly": "npm test"
|
|
21
|
+
"test": "node bin/mdtest.js",
|
|
22
|
+
"example": "node bin/mdtest.js --rootDir example"
|
|
24
23
|
},
|
|
25
24
|
"engines": {
|
|
26
25
|
"node": ">=20.3"
|