Skip to content

Commit

Permalink
Making Bats optional.
Browse files Browse the repository at this point in the history
  • Loading branch information
otaviof committed Nov 25, 2020
1 parent 593da5a commit 20d22ed
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/proposals/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ reviewers:
approvers:
- TBD
creation-date: 2020-10-07
last-updated: 2020-11-23
last-updated: 2020-11-25
status: provisional
---

Expand Down Expand Up @@ -175,11 +175,12 @@ The testing structure will be composed of:

- **Unit**: written in Golang and using [Gomega](https://onsi.github.io/gomega/) for assertion;
- **End-to-End**: written in Golang and located at the traditional `test/e2e` directory;
- **System**: written using Bats framework (Bash);
- **System**: written using Bats framework (Bash), or similar approach;

Bats will also be helpful for a future `shp` container-image, we are able to mount the Bats files
in the container-image produced, and run our system testing against it. Therefore, Bats covers
testing of a local command-line binary, as well as it does a container-image.
testing of a local command-line binary, as well as it does a container-image. Another tool may take
Bats' place, covering the same test-use cases accordingly.

## Releasing

Expand Down

0 comments on commit 20d22ed

Please sign in to comment.