headlamp 0.1.35 → 0.1.36

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
@@ -1,24 +1,23 @@
1
1
  ### Headlamp
2
2
 
3
- Headlamp is a **Rust-powered test UX CLI**: smarter test selection, cleaner output, and a unified workflow across **jest**, **cargo test**, and **cargo nextest**.
3
+ Headlamp is a **Rust-powered test UX CLI**: smarter test selection, cleaner output, and a unified workflow across **jest**, **cargo test**, **cargo nextest**, and **pytest**.
4
4
 
5
5
  Headlamp is useful when you want a consistent way to run tests across different projects and keep feedback fast as your repo grows. It can select tests based on what changed, surface failures in a readable format, and keep common defaults (like runner args and coverage settings) in a single config file so your team doesn’t have to remember a long list of flags.
6
6
 
7
7
  ### Why Headlamp
8
8
 
9
- - **One CLI, many runners**: `--runner=jest|cargo-nextest|cargo-test`
9
+ - **One CLI, many runners**: `--runner=jest|cargo-nextest|cargo-test|pytest`
10
10
  - **Selection that scales**: run what changed (`--changed`) and what’s related (dependency-graph driven)
11
11
  - **Coverage-first UX**: coverage output you can actually read
12
12
  - **Fast**: Rust core + caching
13
13
 
14
14
  ### Installation
15
15
 
16
- #### npm (recommended)
16
+ #### npm (Node.js projects)
17
17
 
18
18
  Requirements:
19
19
 
20
20
  - Node **>= 18**
21
- - A GitHub Release for your version tag (see “Releases” below)
22
21
 
23
22
  Install:
24
23
 
@@ -32,10 +31,12 @@ Run:
32
31
  npx headlamp --help
33
32
  ```
34
33
 
35
- #### Cargo (from source)
34
+ #### Cargo (Rust projects)
35
+
36
+ Install from crates.io:
36
37
 
37
38
  ```bash
38
- cargo install --path headlamp
39
+ cargo install headlamp
39
40
  ```
40
41
 
41
42
  ### Quickstart
@@ -61,33 +62,14 @@ headlamp --runner=cargo-test
61
62
 
62
63
  ### CLI
63
64
 
64
- Current `--help` output:
65
-
66
- ```text
67
- headlamp
68
-
69
- Usage:
70
- headlamp [--runner=<jest|vitest|pytest|cargo-nextest|cargo-test>] [--coverage] [--changed[=<mode>]] [args...]
71
-
72
- Flags:
73
- --runner <runner> Select runner (default: jest)
74
- --coverage Enable coverage collection (runner-specific)
75
- --coverage-ui=jest|both Coverage output mode
76
- --coverage.abortOnFailure Exit on test failures without printing coverage
77
- --watch Re-run on file changes (runner-agnostic polling watch)
78
- --ci CI mode (disable interactive UI and set CI=1)
79
- --verbose More Headlamp diagnostics
80
- --no-cache Disable Headlamp caches (and runner caches when possible)
81
- --onlyFailures Show only failing tests during live output
82
- --showLogs Show full logs under failing tests
83
- --sequential Serialize execution (maps to jest --runInBand)
84
- --bootstrapCommand <cmd> Run once before tests (npm script name or shell cmd)
85
- --changed[=all|staged|unstaged|branch|lastCommit]
86
- --changed.depth=<n>
87
-
88
- Notes:
89
- Unknown args are forwarded to the runner.
90
- ```
65
+ Run `headlamp --help` to see the up-to-date flags list.
66
+
67
+ Highlights:
68
+
69
+ - **runners**: `--runner=jest|pytest|cargo-nextest|cargo-test`
70
+ - **changed selection**: `--changed=all|staged|unstaged|branch|lastCommit|lastRelease`
71
+ - `lastRelease` selects changes since the previous stable SemVer release tag
72
+ - **coverage**: `--coverage` plus `--coverage-ui`, `--coverage.detail`, thresholds, etc.
91
73
 
92
74
  ### Configuration
93
75
 
@@ -142,12 +124,6 @@ export default {
142
124
 
143
125
  Pull requests are welcome. For large changes, open an issue first to align on direction.
144
126
 
145
- Local dev:
146
-
147
- ```bash
148
- cargo test
149
- ```
150
-
151
127
  ### Support
152
128
 
153
129
  - Bug reports and feature requests: GitHub Issues
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "headlamp",
3
- "version": "0.1.35",
3
+ "version": "0.1.36",
4
4
  "description": "The smart searchlight for your test suite. Fast, graph-powered selection for Jest and Cargo.",
5
5
  "keywords": [
6
6
  "testing",
package/bin/.gitkeep DELETED
@@ -1,4 +0,0 @@
1
-
2
-
3
-
4
-