Skip to content
This project shows how you can integration test a brigade.js project
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ci @ e3962ba
test
.gitignore
.gitmodules
.travis.yml
README.md
brigade.js

README.md

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.