3 Comments

> Sometimes I write failing tests for missing features or for nasty bugs and keep them around, commented out

It was only with LLVM's LIT that I learned about XFAILed tests. Really neat way to specify missing or incomplete features. TDD can also profit from it, because the test case can be committed as NFC in insolation upfront and the feature implementation just unXFAILs it, like:

https://github.com/open-obfuscator/o-mvll/pull/16/commits/ae1ef8cb337b156941dbe709e7597f28dd5d8b67

Expand full comment

I sold a SaaS company doing $35M in annual revenue with zero tests and no QA team.

Trust me, you can survive without them. 😁

Expand full comment