Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 1.05 KB

README.md

File metadata and controls

25 lines (22 loc) · 1.05 KB

This project is used to write integration tests leveraging the acapy-minimal-example library provided by the contributors from Indicio

Getting started:

Every test example will have a docker-compose.yml file for all the agents and services used in the test scenario. To run an individual scenario:

  • From the scenarios directory.
  • Make sure the local acapy image is up to date.
  • cd ..
  • docker build -t acapy-test -f ./docker/Dockerfile.run .
  • cd scenarios
  • Navigate to the base example. cd examples/simple
  • docker compose up

To run all the tests with pytest:

  • From the scenarios directory.
  • Make sure the local acapy image is up to date.
  • cd ..
  • docker build -t acapy-test -f ./docker/Dockerfile.run .
  • cd scenarios
  • poetry run pytest -m examples
  • TODO: easily run individual tests with pytest.