This document highlights the required tools and workflows to develop for Conftest.
Conftest is written in the Go programming language, and can be installed from their installation page.
If you are not familiar with Go we recommend you read through the How to Write Go Code article to familiarize yourself with the standard Go development environment.
Make is used for local development and assists with running the builds and tests.
Windows users can download Make from here if not already installed.
Bats is used for running the acceptance tests.
There are a few ways to install Bats:
- Brew:
brew install bats
- npm:
npm install -g bats
All build and testing workflows have make
commands.
-
Build:
make build
-
Test:
make test
-
Acceptance:
make acceptance
-
Run everything!
make all