2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-08-22 02:02:14 +00:00
Emerle, Ryan e1743e5342
Updates
- Simplify build config
- Add TTY check to Makefiles for running Docker containers
- Update `fs2` to latest patch
- Update `sbt-assembly` plugin
- Update portal to remove chatty console
- Update portal scripts to add license header
- Update prepare-portal/Gruntfile to combine js and css where applicable
- Remove unused gentelella files from final portal artifact
- Add support for shared zones to quickstart/docker images
- Consolidate built artifacts in `artifacts/` to make eventual release easier
2021-11-02 17:06:24 -04:00
..
2021-11-02 17:06:24 -04:00
2021-11-02 17:06:24 -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