Tag Archives: unit testing

Automated software testing part 6: stubbing

Previous: part 5 You can also find the code below in the src/unit-test-4   dir of my blog code repository. In the previous post, we talked about spying. With a test spy, you can spy on method calls and see how … Continue reading

Posted in software development, testing | Tagged , , , , , , , , | Leave a comment

Automated software testing part 2: testing strategy, or what to test

Previous: part 1 – Next: part 3 If you have done or read anything about unit testing, I’m sure you’ve encountered the standard example of a function that multiplies two numbers and returns the result. This function is pretty easy to test. Once … Continue reading

Posted in software development, testing | Tagged , , , , , | Leave a comment