featureparity 0.0.14 → 0.0.15
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.
- checksums.yaml +4 -4
- data/lib/fp/cli.rb +4 -1
- data/lib/fp/client.rb +84 -0
- data/lib/fp/commands/attach.rb +190 -0
- data/lib/fp/commands/attachments.rb +122 -0
- data/lib/fp/commands/check.rb +30 -7
- data/lib/fp/commands/ci_report.rb +5 -1
- data/lib/fp/commands/conversation.rb +92 -0
- data/lib/fp/commands/help.rb +64 -9
- data/lib/fp/commands/init.rb +87 -21
- data/lib/fp/commands/propose.rb +23 -2
- data/lib/fp/commands/propose_change.rb +13 -5
- data/lib/fp/commands/report.rb +19 -3
- data/lib/fp/commands/show.rb +14 -0
- data/lib/fp/commands.rb +3 -0
- data/lib/fp/junit.rb +114 -97
- data/lib/fp/version.rb +1 -1
- data/skills/fp/SKILL.md +110 -25
- data/skills/fp/references/cli.md +62 -23
- data/skills/fp/references/markers.md +25 -0
- metadata +5 -2
|
@@ -26,6 +26,31 @@ Examples:
|
|
|
26
26
|
|
|
27
27
|
When using `fp report --junit`, each pinned surface produces a separate evidence upload.
|
|
28
28
|
|
|
29
|
+
## Test-type pinning
|
|
30
|
+
|
|
31
|
+
A requirement can demand several *kinds* of test (a unit test and an end-to-end test,
|
|
32
|
+
say). Pin a marker's kind with a `:type` suffix, after the surfaces if any:
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
fp:<slug>:<type>
|
|
36
|
+
fp:<slug>@<surface>:<type>
|
|
37
|
+
fp:<slug>@<surface1>,<surface2>:<type>
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Valid types: `unit`, `integration`, `e2e`, `manual`, `other`.
|
|
41
|
+
|
|
42
|
+
Examples:
|
|
43
|
+
- `fp:print_qr` — unspecified type (and the `--surface` default)
|
|
44
|
+
- `fp:print_qr:unit` — filed as a unit test
|
|
45
|
+
- `fp:print_qr@api:e2e` — the `api` surface, filed as an e2e test
|
|
46
|
+
- `fp:print_qr@api,web:e2e` — both surfaces, each filed as an e2e test
|
|
47
|
+
|
|
48
|
+
A marker that pins no type takes the `--test-type` flag's value (if given), otherwise
|
|
49
|
+
`unspecified`. A requirement declares which kinds it needs with
|
|
50
|
+
`fp propose --required-types unit,e2e`; a surface is covered only once every demanded
|
|
51
|
+
kind has evidence. A requirement naming no types inherits the project default, and when
|
|
52
|
+
neither is set any one test satisfies a surface.
|
|
53
|
+
|
|
29
54
|
## Language examples
|
|
30
55
|
|
|
31
56
|
### Ruby/RSpec
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: featureparity
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.15
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Stowzilla
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-09
|
|
11
|
+
date: 2026-10-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: net-http
|
|
@@ -94,10 +94,13 @@ files:
|
|
|
94
94
|
- lib/fp/cli.rb
|
|
95
95
|
- lib/fp/client.rb
|
|
96
96
|
- lib/fp/commands.rb
|
|
97
|
+
- lib/fp/commands/attach.rb
|
|
98
|
+
- lib/fp/commands/attachments.rb
|
|
97
99
|
- lib/fp/commands/base.rb
|
|
98
100
|
- lib/fp/commands/check.rb
|
|
99
101
|
- lib/fp/commands/ci_report.rb
|
|
100
102
|
- lib/fp/commands/config_cmd.rb
|
|
103
|
+
- lib/fp/commands/conversation.rb
|
|
101
104
|
- lib/fp/commands/export.rb
|
|
102
105
|
- lib/fp/commands/help.rb
|
|
103
106
|
- lib/fp/commands/history.rb
|