Skip to content

Commit 2b99f07

Browse files
committed
Readme updated
1 parent bf3e417 commit 2b99f07

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

parley/tests/README.md

+24-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,27 @@ If you think that everything is ok, you can start tests as follows:
1313
$ PARLEY_TEST="accept" cargo test
1414
```
1515

16-
It will update snapshots of the failed tests.
16+
It will update snapshots of the failed tests.
17+
18+
## Usage of xtask when test fails
19+
20+
After some tests fails, you may run the following for generating kompari HTML report:
21+
22+
```bash
23+
cargo xtask report
24+
```
25+
26+
or start an interactive test blessing
27+
28+
```bash
29+
cargo xtask review
30+
```
31+
32+
## Detect dead snapshots
33+
34+
The following command shows snapshots that are not used in any test. The command also allows to delete such snaphosts.
35+
36+
```bash
37+
cargo xtask dead-snapshots
38+
```
39+

0 commit comments

Comments
 (0)