Skip to content

opensrp/opensrp-server-core

Repository files navigation

opensrp-server-core

Build Status Coverage Status Codacy Badge

Postgres, couchdb, lucene and scheduler domain objects, repositories and services

Relevant Wiki Pages

Running Integration Tests

We use test-containers to create ephemeral instances of the postgres database and rabbitmq server for the integration tests. This means that one does not have to set up any instance to run the integration tests on one's machine.

How it works

When an integration test is run/executed:

  • Test-Containers will pull a docker image and/or start a docker container needed.
  • Test-Containers will then provide a dynamic port to connect to, from the hosts network.
  • A single instance is created for all the tests.
  • The docker container will be killed once all the tests have been executed.

Publishing artifacts

For more on publishing this artifact see Publishing via Tag