Skip to content

Commit a7cb8b1

Browse files
committed
UPdate testing doc (add command that run SemanticdbTests only)
1 parent 8414e76 commit a7cb8b1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/docs/contributing/testing.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,11 @@ with `with-compiler` in their name.
148148

149149
### SemanticDB tests
150150

151+
```bash
152+
$ sbt
153+
> scala3-compiler-bootstrapped/testOnly dotty.tools.dotc.semanticdb.SemanticdbTests
154+
```
155+
151156
The output of the `extractSemanticDB` phase, enabled with `-Xsemanticdb` is tested with the bootstrapped JUnit test
152157
`dotty.tools.dotc.semanticdb.SemanticdbTests`. It uses source files in `tests/semanticdb/expect` to generate
153158
two kinds of output file that are compared with "expect files": placement of semanticdb symbol occurrences inline in

0 commit comments

Comments
 (0)