Closed DK318 closed 2 years ago
Can you please also make a small amendment to the make bats
target? To make it easier for us to run a specific test (or subset of tests)
# Usage:
# * make bats
# * make bats FILTER="test name"
bats:
git submodule update --init --recursive
./tests/golden/helpers/bats/bin/bats ./tests/golden/** $(if $(FILTER),-f "$(FILTER)",)
Problem: In #29, we implemented almost every CLI action, but we haven't written any tests for them yet.
Solution: write golden tests using
bats
.Description
Related issue(s)
Related changes (conditional)
Tests
Documentation
Public contracts
Stylistic guide (mandatory)