File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 77- [ Rules] ( ./rules.md )
88 - [ Atoms] ( ./rules/atoms.md )
99 - [ Initialization] ( ./rules/initialization.md )
10+ - [ Testing Polonius] ( ./testing.md )
1011- [ See also] ( ./see_also.md )
Original file line number Diff line number Diff line change 1+ # Testing Polonius
2+
3+ ## Rust UI Tests with Polonius Compare Mode
4+
5+ There is a mode of the Rust test suite that compares Polonius' output to the
6+ current NLL one. You can invoke it by using ` --compare-mode polonius ` . For
7+ example, the following will run the UI tests:
8+
9+ ```
10+ $ ./x.py test -i --stage 1 --compare-mode polonius src/test/ui
11+ ```
12+
13+ ## Polonius' Own Unit Test
14+
15+ (Not yet written, but this section should describe how to use ` polonius-parser `
16+ to generate input for unit tests.)
You can’t perform that action at this time.
0 commit comments