568f86eb18
Passing RepositoryInfo to ResolveAuthConfig, pullRepository, and pushRepository Moving --registry-mirror configuration to registry config Created resolve_repository job Repo names with 'index.docker.io' or 'docker.io' are now synonymous with omitting an index name. Adding test for RepositoryInfo Adding tests for opts.StringSetOpts and registry.ValidateMirror Fixing search term use of repoInfo Adding integration tests for registry mirror configuration Normalizing LookupImage image name to match LocalName parsing rules Normalizing repository LocalName to avoid multiple references to an official image Removing errorOut use in tests Removing TODO comment gofmt changes golint comments cleanup. renaming RegistryOptions => registry.Options, and RegistryServiceConfig => registry.ServiceConfig Splitting out builtins.Registry and registry.NewService calls Stray whitespace cleanup Moving integration tests for Mirrors and InsecureRegistries into TestNewIndexInfo unit test Factoring out ValidateRepositoryName from NewRepositoryInfo Removing unused IndexServerURL Allowing json marshaling of ServiceConfig. Exposing ServiceConfig in /info Switching to CamelCase for json marshaling PR cleanup; removing 'Is' prefix from boolean members. Removing unneeded json tags. Removing non-cleanup related fix for 'localhost:[port]' in splitReposName Merge fixes for gh9735 Fixing integration test Reapplying #9754 Adding comment on config.IndexConfigs use from isSecureIndex Remove unused error return value from isSecureIndex Signed-off-by: Don Kjer <don.kjer@gmail.com> Adding back comment in isSecureIndex Signed-off-by: Don Kjer <don.kjer@gmail.com> |
||
---|---|---|
.. | ||
fixtures/https | ||
api_test.go | ||
commands_test.go | ||
container_test.go | ||
graph_test.go | ||
https_test.go | ||
MAINTAINERS | ||
README.md | ||
runtime_test.go | ||
server_test.go | ||
utils_test.go | ||
z_final_test.go |
Legacy integration tests
./integration
contains Docker's legacy integration tests.
It is DEPRECATED and will eventually be removed.
If you are a CONTRIBUTOR and want to add a test:
-
Consider mocking out side effects and contributing a unit test in the subsystem you're modifying. For example, the remote API has unit tests in
./api/server/server_unit_tests.go
. The events subsystem has unit tests in./events/events_test.go
. And so on. -
For end-to-end integration tests, please contribute to
./integration-cli
.
If you are a MAINTAINER
Please don't allow patches adding new tests to ./integration
.
If you are LOOKING FOR A WAY TO HELP
Please consider porting tests away from ./integration
and into either unit tests or CLI tests.
Any help will be greatly appreciated!