Skip to content

Commit d6c16dd

Browse files
committed
Update documentation after scala#3665
1 parent c515e7e commit d6c16dd

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/docs/contributing/testing.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -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.
2828
For 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 * -- *`.
3535
The right-hand side picks a range of names for methods and the left-hand side picks a range of class names and their
3636
fully-qualified paths.
3737

@@ -58,13 +58,13 @@ You can also run all paths of classes of a certain name:
5858
These tests are Scala source files expected to compile with Dotty (pos tests),
5959
along 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

6363
Currently 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

Comments
 (0)