You may think I’m rehearsing a Unix textbook from 1990s. Oh, you can run programs in parallel. How nice! What an amazing UNIX you have here!
Nope. This is a real problem I was struggling to solve.
There is a nice pattern for a scripts: you write their tests right in the script. It’s allow to bypass any import issues and just ship code and tests together.
This approach works perfectly if you have only simple tests: