Skip to content

Latest commit

 

History

History
38 lines (20 loc) · 1.1 KB

DEVELOPMENT.md

File metadata and controls

38 lines (20 loc) · 1.1 KB

Development

This document highlights the required tools and workflows to develop for Conftest.

Tools

Go

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

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

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

Building and Testing

All build and testing workflows have make commands.

  • Build: make build

  • Test: make test

  • Acceptance: make acceptance

  • Run everything! make all