Data:testdata contains data needed by e2e tests, including:
config: notation test key and cert files.
registry: OCI layout files and registry config files.
For developer
Test registry: a test registry started before running tests.
Config isolation: notation needs a few configuration files in user level directory, which can be isolated by modify XDG_CONFIG_HOME environment variable. In Notation E2E test framework, a VirtualHost abstraction is designed for isolating user level configuration.
Parallelization: In order to speed up testing, Ginkgo will launch several processes to run e2e test cases.
Randomization: By default, Ginkgo will run specs in a suite in random order. Please make sure the test cases can be runned independently. If the test cases depend on the execution order, consider using Ordered Containers.
Setting up
Github Actions
Please check Run e2e tests steps in workflows/build.yml for detail.