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
Copy file name to clipboardExpand all lines: README.md
+13-5Lines changed: 13 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,11 +37,17 @@ You can find out more about LiquidJava in the following resources:
37
37
Run the file `liquidjava-verifier\api\CommandLineLaucher` with the path to the target project for verification.
38
38
If there are no arguments given, the application verifies the project on the path `liquidjava-example\src\main\java`.
39
39
40
-
#### JUnit tests
41
-
Inside the folder `liquidjava-verifier\api\tests` are three classes that test several examples available at `liquidjava-example\src\test\java`.
42
-
To run the JUnit tests in one of the files, select it, right-click it and `Run as...\JUnit tests`.
43
-
To run the all test suit, select the package `tests` (`liquidjava-verifier\api\tests`), right-click it, and do `Run as...\JUnit tests`.
44
-
Make sure to run these tests after making changes in the verification code.
40
+
41
+
## Testing
42
+
Run `mvn test` to run all the tests in liquidjava.
43
+
44
+
The starter test file is `TestExamples.java` which uses the test suite under the `liquidjava-examples/testSuite`.
45
+
46
+
Paths in the testSuite are considered test cases if:
47
+
1. File that start with `Correct` or `Error` (e.g, "CorrectRecursion.java")
48
+
2. Package/Folder that contains the word `correct` or `error`.
49
+
50
+
Therefore, files/folders that do not pass this description are not verified.
45
51
46
52
## Project structure
47
53
-**docs**: documents used for the design of the language. The folder includes a readme to a full artifact used in the design process, here are some initial documents used to prepare the design of the refinements language at its evaluation
@@ -56,3 +62,5 @@ Make sure to run these tests after making changes in the verification code.
56
62
-*smt*: package that handles the translation to the smt solver and the processing of the results the smt solver produces.
57
63
-*utils*: includes useful methods for all the previous packages.
58
64
-*test/java/liquidjava/api/tests* contains the `TestExamples` class used for running the testSuite
0 commit comments