ccqa 1.6.0 → 1.7.0
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/README.md +9 -5
- package/dist/bin/ccqa.mjs +8471 -7673
- package/dist/evidence-constants-C425F7ZG.mjs +36 -0
- package/dist/hub-client/index.d.mts +6 -0
- package/dist/package.json +5 -1
- package/dist/runtime/step-evidence.d.mts +53 -0
- package/dist/runtime/step-evidence.mjs +104 -0
- package/dist/runtime/test-helpers.mjs +5 -4
- package/dist/{spawn-ab-B9Il2TMd.mjs → spawn-ab-CRIVfWpw.mjs} +1 -14
- package/package.json +5 -1
package/README.md
CHANGED
|
@@ -57,10 +57,10 @@ contract.
|
|
|
57
57
|
each step's `expected` — for fragile, timing-heavy UIs where a fixed
|
|
58
58
|
recording would break.
|
|
59
59
|
|
|
60
|
-
Either way
|
|
61
|
-
failing spec a root-cause
|
|
62
|
-
|
|
63
|
-
learns from your grades.
|
|
60
|
+
Either way — and whatever the `target:` — opting in with
|
|
61
|
+
`ccqa run --failure-analysis [base]` gives every failing spec a root-cause
|
|
62
|
+
call (TEST_DRIFT / SPEC_CHANGE / PRODUCT_BUG) against the source diff since
|
|
63
|
+
`[base]`, gradable on the hub — and the hub learns from your grades.
|
|
64
64
|
|
|
65
65
|
## Install
|
|
66
66
|
|
|
@@ -70,7 +70,11 @@ pnpm add -D ccqa vitest agent-browser
|
|
|
70
70
|
|
|
71
71
|
Requires Node.js **20+**.
|
|
72
72
|
[agent-browser](https://github.com/vercel-labs/agent-browser) and
|
|
73
|
-
[vitest](https://vitest.dev) are peer dependencies
|
|
73
|
+
[vitest](https://vitest.dev) are peer dependencies of the **default
|
|
74
|
+
agent-browser target** — they run its recorded tests. A project that only uses
|
|
75
|
+
an external target (`playwright`, `runn`) needs just `ccqa` plus that tool
|
|
76
|
+
(e.g. `pnpm add -D ccqa @playwright/test`); ccqa executes it through the
|
|
77
|
+
target's `runCommand`.
|
|
74
78
|
|
|
75
79
|
## Quick start
|
|
76
80
|
|