I really agree with both these takes from Effective Software Testing by Mauricio Aniche:
1. That simple code won’t guarantee no bugs, and is not a replacement for testing
2. That the more you write tests, the less effort it becomes to do so.
I really agree with both these takes from Effective Software Testing by Mauricio Aniche:
1. That simple code won’t guarantee no bugs, and is not a replacement for testing
2. That the more you write tests, the less effort it becomes to do so.
Reading the book and it’s a good one so far. The book on the publisher’s site: https://www.manning.com/books/effective-software-testing
Or on Amazon: https://www.amazon.com/Effective-Software-Testing-developers-guide/dp/1633439933
(As always, the links are not affiliates)
@gergelyorosz Key to invest time in implementing robust testing foundations. This makes there tests easier to update and maintain.
I have seen so many experienced engineers without a good understanding a mocking (especially what should not be mocked), black box testing (building tests of the implementation as opposed to the interface), etc.
The "clean bill of health" produced by such a technique does not guarantee that the program is actually correct. In this paper, we show that several heuristic techniques for software testing that have been developed in software engineering can be rigorously justified. In this justification, we use Kolmogorov complexity to formalize the terms "simple" and "random" that these techniques use. The successful formalization of simple heuristics is a good indication that Kolmogorov complexity may be useful in formalizing more complicated heuristics as well.