Page MenuHomeSoftware Heritage

Add integration and end-to-end tests for the Software Heritage stack
Closed, MigratedEdits Locked

Description

As we now have a full docker-compose environment enabling to run a complete Software Heritage instance,
we should use it to implement integration and end-to-end tests.

For instance, one of those tests could consist in:

  1. Start a Software Heritage instance, check all components are up
  2. Create loading tasks for different types of software origin, check they get correctly executed
  3. Check the metadata indexers have been executed once the loading tasks have succeed
  4. Check if the ingested data can be accessed through the Web API and the browse UI.

This is a simple scenario and more test cases could be added.