Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time

Brigade Project Integration Testing

An example of how to run unit tests against a Brigade project, using minikube.

Cloning

This codebase makes use of git submodules. To clone, run:

git clone --recurse-submodules https://github.com/blimmer/brigade-project-integration-test.git

Testing

This project has an extensive integration testing framework. It makes use of minikube to set up a local instance of the project and run real-world scenarios to verify behavior.

To run tests, execute:

./test/run

This script sets up a local minikube with the test project to execute tests against. These tests also run in Travis-CI.

Framework

We utilize the bats framework for writing our unit tests. Additionally, we rely on bats-assert for syntactic sugar.

Please refer to the links above to learn more about writing tests.