github.com/pf-qiu/concourse/v6@v6.7.3-0.20201207032516-1f455d73275f/worker/integration/README.md (about)

     1  ## Running The `worker/integration` Test Suite
     2  
     3  This test suite only works on Linux. If you're on macOS or Windows you can use
     4  docker to run the Linux parts of the codebase. Use the following commands to
     5  run this test suite:
     6  
     7  ```bash
     8  $ docker run -v ~/workspace/concourse:/src -it --entrypoint "/bin/bash" golang
     9  ```
    10  
    11  The above command will put you in a terminal session inside a container with
    12  your local Concourse code mounted at `/src`.
    13  
    14  To run the tests:
    15  
    16  ```bash
    17  $ cd /src/worker/integration
    18  $ go test
    19  ```
    20  
    21  You can leave the container running while you modify your code. Return to the
    22  container whenever you want to run your tests to see if your changes work.