Skip to content

Latest commit

 

History

History
executable file
·
39 lines (28 loc) · 2.94 KB

README.md

File metadata and controls

executable file
·
39 lines (28 loc) · 2.94 KB

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