#goodenoughtesting — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #goodenoughtesting, aggregated by home.social.
-
Most testing advice sounds great until you try it on a real project.
That’s why I use 4 axioms of testing that hold up in real-world codebases:
1. You can’t test everything
2. You can’t prove it’s bug-free
3. Start early
4. Bias is realAsk this before writing a test:
**“What’s the purpose of this test in this context?”**If it doesn’t verify, protect, or document behavior/specs why write it?
#SoftwareTesting #TDD #CleanCode #DevMindset #GoodEnoughTesting
-
#GoodEnoughTesting #Applied #TestCase #Design
I like to apply when possible the test design techniques on real code. Here I reviewed a bit of code from the open source Rails app from @zammadhq and applied a systematic process to extract test cases: