ccqa 1.51.0 → 1.52.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 CHANGED
@@ -75,8 +75,11 @@ what it compiles into:
75
75
  each step's `expected` — for UIs a fixed recording would break on.
76
76
 
77
77
  vitest and agent-browser are peer dependencies of the default target; a
78
- project on an external target alone needs just `ccqa` and that tool.
79
- `runCommand` and reusing your existing page objects:
78
+ project on an external target alone needs just `ccqa` and that tool. A
79
+ target can also be defined entirely in config, with no code of its own, to
80
+ match a framework your repo already uses — and read its cases from
81
+ markdown you already write instead of `spec.yaml`. `runCommand`, reusing
82
+ your existing page objects, and `kind: external`:
80
83
  [Generation targets](./docs/targets.md).
81
84
 
82
85
  ## Audit, then run
@@ -107,12 +110,16 @@ So ccqa asks the cheap question before the expensive one:
107
110
  unverified until then
108
111
  ```
109
112
 
110
- `ccqa audit` reads each spec against the source — cents per spec, no
113
+ `ccqa audit` reads each test case against the source — cents per case, no
111
114
  browser — and records every verdict on the **hub**, the small server
112
115
  that holds what the team and CI share. Stale generated code is
113
- re-recorded; a stale spec goes to a human and stays **unverified** —
116
+ re-recorded; a stale case goes to a human and stays **unverified** —
114
117
  neither passing nor failing — until repaired.
115
118
 
119
+ When the application lives in a different checkout from the tests, name it
120
+ with `sourceRoots` in `.ccqa/config.yaml` and the audit reads it there. See
121
+ [Drift detection](./docs/running.md#drift-detection).
122
+
116
123
  `ccqa run --only-hub-rerun-needed` asks the hub which specs are worth
117
124
  running: cleared by the audit *and* invalidated by a deploy. A drifted spec —
118
125
  or one whose last run failed — answers `needsRepair` and is never run. A run