@willbooster/wb 22.15.0 → 22.16.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.
Files changed (3) hide show
  1. package/README.md +3 -1
  2. package/dist/index.js +25 -25
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -174,7 +174,9 @@ Output is saved as it arrives, before display filtering,
174
174
  to `.wb/verify.log` or `.wb/verify-full.log` in the verified project. Each command
175
175
  overwrites its previous log; `--dry-run` leaves logs untouched.
176
176
 
177
- `wb test-on-ci` streams complete stdout and stderr, including with `--silent`, without saving a local log. Each phase reports its package, duration, and exit code. The final summary includes failed phases, their working directories, and rerun commands. `--dry-run` labels constructed commands with `Would run` and omits phase completion results. CI workflows own log storage and artifact uploads. `--max-minutes <n>` fails the run when the unit and E2E phases of all packages take longer than `n` minutes in total, even when every test passed, and lists those phases from slowest to fastest. The `e2e` phase includes building and starting the app under test; the startup check and the Docker image build do not count.
177
+ `wb test-on-ci` streams complete stdout and stderr, including with `--silent`, without saving a local log. Each phase reports its package, duration, and exit code. The final summary includes failed phases, their working directories, and rerun commands. `--dry-run` labels constructed commands with `Would run` and omits phase completion results. CI workflows own log storage and artifact uploads. `--max-minutes <n>` fails the run when the `unit`, `e2e`, and `post` phases of all packages take longer than `n` minutes in total, even when every test passed, and lists those phases from slowest to fastest. The `e2e` phase includes building and starting the app under test; the startup check and the Docker image build do not count.
178
+
179
+ A package whose `package.json` defines a `test/post` script gets a `post` phase: after the unit and E2E tests of every package pass, `wb test-on-ci` and `wb test` run the script of each such package through the package manager, including a package that has no such tests. Use it for a test suite the JavaScript runners cannot run, such as Gradle, Maven, or RSpec. The script cannot be filtered, so `wb test` and `wb verify --full` skip it when test paths, `--grep`, or Playwright arguments select tests.
178
180
 
179
181
  For `wb verify` and `wb verify --full`, a log-write failure falls back to printing subsequent raw output. If a log cannot be completed, the command reports the log error and fails an otherwise successful run; an existing nonzero command exit status is preserved.
180
182