moby--moby/integration
Don Kjer 568f86eb18 Deprecating ResolveRepositoryName
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>
2015-01-08 20:14:58 +00:00
..
fixtures/https Add authenticated TLS support for API 2014-03-09 00:06:44 +01:00
MAINTAINERS Add Cristian to integration/MAINTAINERS 2014-08-13 07:50:40 +00:00
README.md Freeze ./integration and explain where to contribute new tests 2014-04-26 18:55:39 -07:00
api_test.go allow to use x-registry-auth header with enabled cors 2014-11-01 19:22:28 +03:00
commands_test.go Refactor daemon.attach() 2015-01-05 15:56:48 -08:00
container_test.go Refactor daemon.attach() 2015-01-05 15:56:48 -08:00
graph_test.go Remove `jsonData` argument from `image.StoreImage` 2014-11-03 17:39:21 -08:00
https_test.go Fix incorrect error type. 2014-12-15 17:29:28 +08:00
runtime_test.go Refactor daemon.attach() 2015-01-05 15:56:48 -08:00
server_test.go Remove unused sysinfo parameter to runconfig.Parse 2014-11-14 18:20:54 -08:00
utils_test.go Deprecating ResolveRepositoryName 2015-01-08 20:14:58 +00:00
z_final_test.go update go import path and libcontainer 2014-07-24 22:19:50 +00:00

README.md

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!