github.com/guilhermebr/docker@v1.4.2-0.20150428121140-67da055cebca/integration/README.md (about)

     1  ## Legacy integration tests
     2  
     3  `./integration` contains Docker's legacy integration tests.
     4  It is DEPRECATED and will eventually be removed.
     5  
     6  ### If you are a *CONTRIBUTOR* and want to add a test:
     7  
     8  * Consider mocking out side effects and contributing a *unit test* in the subsystem
     9  you're modifying. For example, the remote API has unit tests in `./api/server/server_unit_tests.go`.
    10  The events subsystem has unit tests in `./events/events_test.go`. And so on.
    11  
    12  * For end-to-end integration tests, please contribute to `./integration-cli`.
    13  
    14  
    15  ### If you are a *MAINTAINER*
    16  
    17  Please don't allow patches adding new tests to `./integration`.
    18  
    19  ### If you are *LOOKING FOR A WAY TO HELP*
    20  
    21  Please consider porting tests away from `./integration` and into either unit tests or CLI tests.
    22  
    23  Any help will be greatly appreciated!