diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 23 |
1 files changed, 22 insertions, 1 deletions
@@ -118,11 +118,32 @@ java -cp <path/to/JRDFox.jar>:<path/to/fat.jar> uk.ac.ox.cs.rsacomb.RSAComb [<op | |||
118 | 118 | ||
119 | ### Running tests | 119 | ### Running tests |
120 | 120 | ||
121 | To run the suit of unit test provided along with the code run | 121 | To run the suites of tests provided along with the code run |
122 | ``` | 122 | ``` |
123 | sbt test | 123 | sbt test |
124 | ``` | 124 | ``` |
125 | 125 | ||
126 | This will run all [unit tests](https://en.wikipedia.org/wiki/Unit_testing) and [functional tests](https://en.wikipedia.org/wiki/Functional_testing). | ||
127 | If you want to limit the scope of the tests and run only a particular suite use | ||
128 | ``` | ||
129 | sbt "testOnly <test-class>" | ||
130 | ``` | ||
131 | |||
132 | For example, to execute only unit tests concerning the canonical model computation, run | ||
133 | ``` | ||
134 | sbt "testOnly uk.ac.ox.cs.rsacomb.CanonicalModelSpec" | ||
135 | ``` | ||
136 | |||
137 | or alternatively | ||
138 | ``` | ||
139 | sbt "testOnly *CanonicalModelSpec" | ||
140 | ``` | ||
141 | |||
142 | To run only functional tests for LUBM, excluding tests tagged as *slow* (that require more resources), run | ||
143 | ``` | ||
144 | sbt "testOnly *functional.LUBM -- -l org.scalatest.tags.Slow" | ||
145 | ``` | ||
146 | |||
126 | ## Changes introduced | 147 | ## Changes introduced |
127 | 148 | ||
128 | We tried to implement the system as close as possible to the theoretical description provided in [[1](#references)]. | 149 | We tried to implement the system as close as possible to the theoretical description provided in [[1](#references)]. |