Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (25 sloc) 1.15 KB

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.

You can’t perform that action at this time.