diff options
| author | Federico Igne <git@federicoigne.com> | 2021-10-04 09:54:55 +0100 |
|---|---|---|
| committer | Federico Igne <git@federicoigne.com> | 2021-10-04 09:54:55 +0100 |
| commit | 8f6759bfa0cfcfaf379d09c0c331aabb7395d319 (patch) | |
| tree | de0341d9cecd1e11ae35acd0fb666e4c420ec997 /README.md | |
| parent | 0d311287610bcf14a1b4ff35008359dde8c00fc3 (diff) | |
| download | RSAComb-8f6759bfa0cfcfaf379d09c0c331aabb7395d319.tar.gz RSAComb-8f6759bfa0cfcfaf379d09c0c331aabb7395d319.zip | |
Tag some tests as slow
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)]. |
