CRAIG RISI - QA Architect, Allan Gray Proprietary Limited
A TESTER’S GUIDE TO UNIT TESTING
Unpacking the world of unit testing in a way that a tester can understand and contribute towards, bring the tester closer to the code and allowing for improved collaboration between developers and testers.
We talk a lot about the testing triangle and how we need to focus more on the lower level unit and component tests for most of our coverage. However, in my experience unit tests and how to effectively write them remains a mystery for many testers and in this workshop I want to unlock the idea behind unit tests, how to write them in an effective way that ensures a high coverage, mitigates the need for too many higher integration tests and most importantly, makes them easy to read and contribute to for testers.
In this talk I want to share my experience as both a developer and a tester in highlighting the mind-sets of both and how through collaboration between developers and testers, software quality can be greatly improved through effective unit testing. The talk will discuss the different unit testing approaches, provide tips on how to write unit tests in a simple way and cover things like mocking and coverage analysis to improve coverage and scope of unit tests.
As someone who has filled the role of both developer and tester, I understand both viewpoints on unit testing. In this workshop would like to share my experience on how having a better understanding of unit tests can enhance a testers ability to test more effectively and contribute in helping catch defects earlier, while reducing the load on the tester at the end of any development cycle.