We’re using Ginkgo and Gomega for testing our code. Since we’re making extensive use of interfaces, external dependencies are mocked for all unit tests.
We’ll try to keep testing coverage as high as possible. To run unit tests simply use:
To check the test coverage use:
make test-coverage-html # opens a html file
make test-coverage-func # prints code coverage to the console
TO BE DONE.
We also have a few integration tests that actually connect to maestro external dependencies. For these you’ll need to have docker installed.
To run integration tests run: