You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|Test sources are compiled separately (after the 'main' sources), and may use different dependencies, compiler options, and other configurations.
52
52
|A source file is treated as a test source if:
53
-
| - the file name ends with `.test.scala`
53
+
| - the file name ends with `.test.scala` or `.test.java`
54
54
| - the file comes from a directory that is provided as input, and the relative path from that file to its original directory contains a `test` directory
55
55
| - it contains the `//> using target.scope test` directive (Experimental)
Test sources are compiled separately (after the 'main' sources), and may use different dependencies, compiler options, and other configurations.
397
397
A source file is treated as a test source if:
398
-
- the file name ends with `.test.scala`
398
+
- the file name ends with `.test.scala` or `.test.java`
399
399
- the file comes from a directory that is provided as input, and the relative path from that file to its original directory contains a `test` directory
400
400
- it contains the `//> using target.scope test` directive (Experimental)
Test sources are compiled separately (after the 'main' sources), and may use different dependencies, compiler options, and other configurations.
198
198
A source file is treated as a test source if:
199
-
- the file name ends with `.test.scala`
199
+
- the file name ends with `.test.scala` or `.test.java`
200
200
- the file comes from a directory that is provided as input, and the relative path from that file to its original directory contains a `test` directory
201
201
- it contains the `//> using target.scope test` directive (Experimental)
Copy file name to clipboardExpand all lines: website/docs/reference/scala-command/runner-specification.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4106,11 +4106,11 @@ Aliases: `--fmt-version`
4106
4106
## `test` command
4107
4107
**SHOULD have for Scala Runner specification.**
4108
4108
4109
-
Compile and test Scala code.
4109
+
Compile and test Scala (or Java) code.
4110
4110
4111
4111
Test sources are compiled separately (after the 'main' sources), and may use different dependencies, compiler options, and other configurations.
4112
4112
A source file is treated as a test source if:
4113
-
- the file name ends with `.test.scala`
4113
+
- the file name ends with `.test.scala` or `.test.java`
4114
4114
- the file comes from a directory that is provided as input, and the relative path from that file to its original directory contains a `test` directory
4115
4115
- it contains the `//> using target.scope test` directive (Experimental)
0 commit comments