Staging instance, all changes can be removed at any time

Skip to content

tests: Add integration tests for the Software Heritage stack

First draft of integration tests for the Software Heritage stack using the docker-compose environment and a couple of bash scripts.

Their purpose is to:

  • ensure the docker-compose environment is up to date and running

  • check there is no regression in high level Software Heritage features (loading origins, querying web api, vault cooking, ...)

The tests will fail if:

  • any of the swh service dies unexpectedly

  • any of the command in the test scripts exits with error

First written tests are about the loading of git origins and vault cooking.

To execute the tests, simply execute the run_tests.sh script.

Related swh-environment#1618 (closed)


Migrated from D1436 (view on Phabricator)

Merge request reports

Loading