We use ginkgo for our acceptance and unit tests.
To install, you can follow these instructions.
Run ginkgo -r -p -race .
.
We use faux to generate fakes.
brew tap ryanmoran/tools
brew install faux
To generate a fake, run: go generate ./...
- Export the IaaS-specific environment variables.
- Export
LEFTOVERS_ACCEPTANCE
to be the value of the IaaS you want to test. - Run
ginkgo -r -p -race acceptance
.