This project includes various tests to ensure the correctness of the product.
Test are segmented into two broad categories, Unit Tests and Integration Tests. By default all unit tests are enabled, and most Integration tests are also enabled, although certain classes of integration tests only run inside of the CI environment.
Each class in this implementation should have high levels of unit test coverage. Execution of these tests is orchestrated by the Maven Surefire Plugin, and can be enabled or disabled via command line-switches as detailed below. By default,
This project includes a single module housing all integration tests: ilpv4-connector-it. By default, most integration tests execute in the local build environment, whereas all Integration tests execute in the CI environment.
There are various types of Integration test:
- Performance ITs: Validate the performance characteristics of the product.
- Settlement ITs: Validate functionality of the Settlement subsystems using multiple nodes.
The following commands can be used to build the project while skipping various test suites.
mvn verify -DskipUTs
mvn verify -DskipITs
mvn verify -DskipTests
mvn verify -Psettlement
mvn verify -Pperformance