File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -20,8 +20,20 @@ Care abouts
20
20
21
21
See also [ eRFC 3558] ( https://github.com/rust-lang/rfcs/pull/3558 )
22
22
23
+ Current proposal:
24
+ - [ serde definition] ( https://github.com/assert-rs/libtest2/blob/main/crates/libtest-json/src/event.rs )
25
+ - [ JSONSchema] ( https://github.com/assert-rs/libtest2/blob/main/crates/libtest-json/event.schema.json )
26
+ - [ example output] ( https://github.com/assert-rs/libtest2/blob/main/crates/libtest2-mimic/tests/testsuite/mixed_bag.rs )
27
+
28
+ Decisions
29
+ - Always report discovery
30
+ - Allows callers to provide a progress indicator
31
+ - Replaces the need for harnesses to provide statistics
32
+
23
33
### Prior Art
24
34
35
+ #### libtest's existing format
36
+
25
37
[ libtest's existing format] ( https://github.com/rust-lang/rust/blob/master/library/test/src/formatters/json.rs ) (as ndjson):
26
38
``` json
27
39
[
@@ -107,6 +119,24 @@ See also [eRFC 3558](https://github.com/rust-lang/rfcs/pull/3558)
107
119
- Does not convey units
108
120
- No extension point for special reporters
109
121
122
+ #### TAP
123
+
124
+ [ TAP] ( https://testanything.org/tap-version-14-specification.html )
125
+
126
+ #### pytest-json-report
127
+
128
+ [ pytest-json-report] ( https://github.com/numirias/pytest-json-report )
129
+
130
+ #### pytest-reportlog
131
+
132
+ [ pytest-reportlog] ( https://github.com/pytest-dev/pytest-reportlog )
133
+
134
+ Endorsed in [ pytest's docs] ( https://docs.pytest.org/en/latest/deprecations.html#result-log-result-log )
135
+
136
+ #### subunit
137
+
138
+ [ subunit] ( https://github.com/testing-cabal/subunit ) ([ rust impl] ( https://github.com/mtreinish/subunit-rust ) )
139
+
110
140
## lexarg
111
141
112
142
Goal: provide an API-stable CLI parser for inclusion in APIs for plugin-specific CLI args
You can’t perform that action at this time.
0 commit comments