-
Notifications
You must be signed in to change notification settings - Fork 62
Unit Tests
Craig Macdonald edited this page Apr 2, 2020
·
4 revisions
Terrier has an extensive test suite. Most of this is in the terrier-tests subproject
mvn package
will run all tests
They can also be executed using your favourite build tool, such as Eclipse.
Travis-CI runs all tests after each commit.
It is possible to run a single unit test
mvn test -pl org.terrier:terrier-tests -Dtest=TestSimpleFileCollection
The test name does not need to be fully qualified.
mvn test
may require mvn install
first.
This appears to work better without needing mvn install
mvn test -DfailIfNoTests=false -Dtest=TestSimpleFileCollection