Testing Without Excuses
Posted on Sun 29 August 2021 in testing • Tagged with linux, cli
Every app has that last inch (or mile) of code that's not covered by tests. Usually it's an interactive cycle of compile-run-inspect on the command line like
You Test
curl -X POST https://reqbin.com/echo/post/json
👀 You Expect:
{"success":"true"}
Despite having 3-4 testing frameworks for unit tests, e2e, regression etc-- there's always a gap where you find yourself re-playing commands in the terminal to test.
A common case is 🔥firefighting where ad-hoc tests are needed to validate an emergency config change or deployment.
Not only is this a waste of time, it's error prone and reduces the …
Continue reading