@@ -24,14 +24,14 @@ $ sbt
2424> dotty-compiler/test
2525```
2626
27- To run a single test class you use ` testOnly ` and the fully qualified class name.
27+ To run a single test class you use ` testOnly ` and the fully qualified class name.
2828For example:
2929
3030``` bash
3131> testOnly dotty.tools.dotc.transform.TreeTransformerTest
3232```
3333
34- The test command follows a regular expression-based syntax ` testOnly * -- * ` .
34+ The test command follows a regular expression-based syntax ` testOnly * -- * ` .
3535The right-hand side picks a range of names for methods and the left-hand side picks a range of class names and their
3636fully-qualified paths.
3737
@@ -58,13 +58,13 @@ You can also run all paths of classes of a certain name:
5858These tests are Scala source files expected to compile with Dotty (pos tests),
5959along with their expected output (run tests) or errors (neg tests).
6060
61- All of these tests are contained in the ` ./tests/* ` directories and can be run with the ` vulpix ` command.
61+ All of these tests are contained in the ` ./tests/* ` directories and can be run with the ` testCompilation ` command.
6262
6363Currently to run these tests you need to invoke from sbt:
6464
6565``` bash
6666$ sbt
67- > vulpix
67+ > testCompilation
6868```
6969
7070(which is effectively the same with ` testOnly dotty.tools.dotc.CompilationTests ` )
@@ -73,9 +73,9 @@ It is also possible to run tests filtered, again from sbt:
7373
7474``` bash
7575$ sbt
76- > vulpix i2147.scala
76+ > testCompilation companions
7777```
7878
79- This will run both the test ` ./tests/pos/i2147 .scala ` and
80- ` ./tests/partest-test/i2147 .scala ` since both of these match the given string.
81- This also means that you could run ` vulpix ` with no arguments to run all integration tests.
79+ This will run both the test ` ./tests/pos/companions .scala ` and
80+ ` ./tests/neg/companions .scala ` since both of these match the given string.
81+ This also means that you could run ` testCompilation ` with no arguments to run all integration tests.
0 commit comments