May 07, 2020
One thing I’ve started to get annoyed at is the practice of complex tests to validate complex scenarios. I feel that situations like this should be handled by breaking up the test into different parts and just varying the inputs. The tests themselves should remain simple and test a simple thing.
If you encounter yourself writing tests that have any type of logic, this is a bad test and prone to bugs. The last thing developers (or a business for that matter) needs is buggy tests trying to test buggy software. You should stop doing that
Testing infrastructure should be as basic as possible and require as little programming as necessary as to not introduce bugs. It would be great if it could use the same interaction as a human
This website talks about sensical approaches to QA testing and how to really know that your application does what it needs to do day in and day out.