fhtagn is a tiny CLI tool for reading and writing tests of command-line programs. Suppose you create some program command. You create a set of end-to-end tests for it. With fhtagn, it’s as simple as creating a tests.tush file with the following content: $ command –that –should –execute correctly | expected stdout output $ command –that –will –cause error @ expected stderr output ? expected-exit-code Running tests: ./fhtagn.awk tests.tush In fact, this is da… |
#fhtagn #tiny #CLI #program #tester #written #AWK