Skip to content

Commit 064bae2

Browse files
authored
Docs - how to run unit tests in scala-cli (#1977)
1 parent 752abc7 commit 064bae2

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

DEV.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,19 @@ The Scala CLI sources ship with Mill launchers, so that Mill itself doesn't need
1919

2020
#### Run unit tests
2121

22+
This command runs the unit tests from the `build-module` module.
23+
2224
```bash
2325
./mill 'build-module.test'
2426
```
2527

28+
If you want to run unit tests for another module, set `module_name` to the name of the module from which you want to run
29+
the unit tests:
30+
31+
```bash
32+
./mill 'module_name.test'
33+
```
34+
2635
To can filter unit test suites:
2736

2837
```bash

0 commit comments

Comments
 (0)