Skip to content

Test coverage

EntryStore is tested using JUnit (unit tests) and Groovy/Spock (integration tests), the client library EntryStore.js using Nodeunit.

Both projects are continuously built and tested using Bitbucket Pipelines.

EntryStore

The EntryStore unit tests cover the modules entrystore-core-impl and entrystore-rest-spring-boot, with work in progress on other modules. The integration tests in modules/rest/integration-test run against the REST API of a started EntryStore instance, with Solr and further external services provided by Testcontainers and WireMock. The coverage report is a JaCoCo report aggregated in the integration test module.

The goal is to gradually improve test coverage of EntryStore and all of its modules. This is an ongoing and time-consuming process, therefore no complete test coverage is currently available.

The test coverage report for EntryStore is automatically updated.

EntryStore.js

The tests in EntryStore.js cover internal functionality and most importantly the whole REST API.

The Nodeunit tests in EntryStore.js can also be seen as complementary integration tests for the EntryStore REST module.