PowerDNS-Admin/docs/running_tests.md
Khanh Ngo 8de6df4d3b Fix the tests
Fix the tests

Fix the tests
2019-12-06 10:59:19 +07:00

553 B

Running tests

NOTE: Tests will create __pycache__ folders which will be owned by root, which might be issue during rebuild

thus (e.g. invalid tar headers message) when such situation occurs, you need to remove those folders as root

  1. Build images
  docker-compose -f docker-compose-test.yml build
  1. Run tests
  docker-compose -f docker-compose-test.yml up
  1. To teardown the test environment
  docker-compose -f docker-compose-test.yml down
  docker-compose -f docker-compose-test.yml rm