CLI Acceptance Testing One of my hobbies is writing little CLI apps to create workflows, automate and solve issues I’m having. The one I’ve probably tinkered with the most is gitsweeper. Gitsweeper is a golang re-write of git-sweep, a python CLI tool I’d been using for a while to clean up branches that had been merged into the master branch.
Because these apps are very small and self-contained, I want to be able to extensively test the happy and sad paths.