The third szenario is using a mock. Mock Test App Exec $ g++ -c UserInterface.cpp WindowManager.cpp $ ar rcs libwnd.a
Continue readingCategory: Testing
Unit testing series – Test scenario (Part 2)
For my unit testing series I have designed the following szenario. Prev: Unit testing series – Intro / Setup (Part
Continue readingUnit testing series – Intro / Setup (Part 1)
Introduction With unit testing you want to test the smallest unit possible, which means a single function. These units shall
Continue readingUnit testing series – Test with Stub (Part 4)
The second szenario is using a stub. Stub Test App Exec $ g++ -c UserInterface.cpp WindowManager.cpp $ ar rcs libwnd.a
Continue readingUnit testing series – Test without double (Part 3)
The first test szenario isn’t using a double. Test App Exec $ g++ -c UserInterface.cpp WindowManager.cpp $ ar rcs libwnd.a
Continue reading