2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-08-22 02:02:14 +00:00
Emerle, Ryan b24cf8db54
Updates
- Rename RecordSetData as RecordSetCache
- Refactoring
- Fix ip address storage to be binary instead of string
- Align recordset_data table contents with migration tooling
- Add feature flag for recordset cache `use-recordset-cache`
- Add feature flag for loading test data `load-test-data`
2022-05-13 13:31:37 -04:00
..
2022-05-13 13:31:37 -04:00
2021-10-27 13:44:55 -04:00

Test

This folder contains test containers for running integration and functional tests.

Path Description
api/functional A Docker container for running functional tests. Use the Makefile to build and run.
You can use WITH_ARGS to pass arguments to Pytest.
Ex: make run WITH_ARGS="-k test_verify_production"

The tests are located in modules/api/test/functional
api/integration A Docker container for running integration tests. Use the Makefile to build and run.
You can use WITH_ARGS to pass the command you would like to execute in the context of this container.
Ex: make run WITH_ARGS="sbt ';validate'"

This does not run any tests by default, but is used by other scripts to run the integration tests. (e.g., build/verify.sh)
portal/functional A Docker container for running functional tests. Use the Makefile to build and run.

The tests are located in modules/portal/test

Execution

The functional tests can be run by using make as described in the table above. For other usages, check out the build/ directory. Specifically:

Path Description
build/func-test-api.sh Runs the functional tests for the API
build/func-test-portal.sh Runs the functional tests for the Portal
build/verify.sh Runs the unit and integration tests for everything