bivium 0.9.0 → 0.10.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
@@ -15,9 +15,15 @@ and says why.
15
15
 
16
16
  That's [Hono](https://github.com/honojs/hono),
17
17
  a branch that edits its cookie helper.
18
-
19
18
  Piped, or with `--list`, it prints the files, one per line.
20
19
 
20
+ **It runs them in your runner**, and says how the run ended:
21
+
22
+ <picture>
23
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/metonym/bivium/master/.github/assets/run-dark.svg">
24
+ <img alt="bivium run main on Hono, a branch that documents its CORS middleware: 7 of 103 tests run for 1 changed file; Vitest queues the 7 files, passes them one by one, 280 tests in all, and bivium closes with unit passed in 3.06 s" src="https://raw.githubusercontent.com/metonym/bivium/master/.github/assets/run-light.svg">
25
+ </picture>
26
+
21
27
  **Every selection has a reason.**
22
28
  `why` shows how a change reaches a test, file by file,
23
29
  with the line that connects each one:
@@ -65,7 +71,7 @@ bunx bivium run # run them: vitest run tests/Button.test.ts …
65
71
  ```
66
72
 
67
73
  Exit status: 0 when done, 1 when `check` finds problems, 2 for an error;
68
- `run` exits with its command's status.
74
+ `run` exits with its command's status, or 130 on Ctrl-C.
69
75
 
70
76
  ## Common tasks
71
77
 
@@ -82,9 +88,6 @@ bivium why tests/Button.test.ts
82
88
  # What bivium can't see, each with its fix
83
89
  bivium check
84
90
 
85
- # Which files reach the most tests
86
- bivium graph --top 10
87
-
88
91
  # In GitHub Actions: write each suite's selection to the step's outputs
89
92
  bivium plan origin/main --github
90
93
  ```
@@ -106,7 +109,8 @@ result.suites.unit; // { mode: "some", files: [...] }; result.suites.e2e is a ty
106
109
  ## Docs
107
110
 
108
111
  - [Config](https://github.com/metonym/bivium/blob/master/docs/config.md):
109
- every key, and the `@depends-on`, `@reads` and `@lists` comments
112
+ every key, and the `@depends-on`, `@depends-on-each`,
113
+ `@reads` and `@lists` comments
110
114
  - [Tuning a plan](https://github.com/metonym/bivium/blob/master/docs/tuning.md):
111
115
  when a change runs too much, and what `check` reports
112
116
  - [Recipes](https://github.com/metonym/bivium/blob/master/docs/recipes.md):