Skip to content

Commit c4c13a1

Browse files
committed
readme: testing notes
1 parent 671103b commit c4c13a1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

readme.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,10 @@ bats test
113113
brew install entr
114114
ls --color=never diff-so-fancy test/*.bats | entr bats test
115115
```
116+
When writing assertions, you'll likely want to compare to expected output. To grab that reliably, you can use something like `git --no-pager diff | diff-so-fancy > output.txt`
116117

117-
Be sure to lint your scripts via shellcheck
118+
119+
You can lint your scripts via shellcheck, our CI bots will also check.
118120

119121
```sh
120122
brew install shellcheck

0 commit comments

Comments
 (0)