concourse/worker/integration/README.md

665 B

Running The worker/integration Test Suite

This test suite only works on Linux. If you're on macOS or Windows you can use docker to run the Linux parts of the codebase. Use the following commands to run this test suite:

$ docker run -v ~/workspace/concourse:/src -it --entrypoint "/bin/bash" golang

The above command will put you in a terminal session inside a container with your local Concourse code mounted at /src.

To run the tests:

$ cd /src/worker/integration
$ go test

You can leave the container running while you modify your code. Return to the container whenever you want to run your tests to see if your changes work.