Skip to content

Commit d59422e

Browse files
committed
Fixed regression test instructions
1 parent f783bc4 commit d59422e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/developer/regression-tests.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Regression Tests for Lingua Franca.
55

66
Lingua Franca comes with an extensive set of regression tests that are executed on various platforms automatically whenever an update is pushed to the LF repository. There are two categories of tests:
77

8-
- **Unit tests** are Java or Kotlin methods in our code base that are labeled with the `@Test` directive. These tests check individual functions of the code generation infrastructure. These are located in the `src/test` directory of each subproject within the repository.
8+
- **Unit tests** are Java methods in our code base that are labeled with the `@Test` directive. These tests check individual functions of the code generation infrastructure. These are located in the `core/src/test` directory.
99
- **Integration tests** are complete Lingua Franca programs that are compiled and executed automatically. A test passes if it successfully compiles and runs to completion with normal termination (return code 0). These tests are located in the `test` directory at the root of the LF repo, with one subdirectory per target language.
1010
Their implementation can be found in the `core/src/integrationTest` directory.
1111
The integration tests are also executed through JUnit using methods with `@Test` directives, but they are executed separately.
@@ -26,7 +26,7 @@ You can specify any valid target. If you run the task without specifying the tar
2626

2727
The `targetTest` task is essentially a convenient shortcut for the following:
2828
```
29-
./gradew core:integrationTest --test org.lflang.tests.runtime.<target>Test.*
29+
./gradlew core:integrationTest --tests "org.lflang.tests.runtime.<target>Test.*"
3030
```
3131
If you prefer have more control over which tests are executed, you can also use this more verbose version.
3232

0 commit comments

Comments
 (0)