tests-blackbox
v0.0.0
Published
Running Blackbox Tests
Downloads
65
Readme
Blackbox Tests
Running Blackbox Tests
Install Docker and ensure that the service is up and running.
Run the following commands to start the blackbox tests:
# Ensure that you are testing against the lastest state of the codebase
pnpm --workspace-root build
# Clean up in case you ran the tests before
pnpm --filter tests-blackbox exec docker compose down --volumes
# Start the containers required for the tests
pnpm --filter tests-blackbox exec docker compose up --detach --wait
# Deploy Directus and run the tests
pnpm --workspace-root test:blackbox
Subsequent test runs can be issued with the following command, if only modifications to the blackbox tests themselves have been made:
pnpm --filter tests-blackbox test