I am looking for podcasts or videos on how to do unit testing.
Ideally they should cover both the basics and more advanced topics.
An example of a real-world scenario that could be covered by a unit test is a checking that your car door can be unlocked, where you test that the door is unlocked using your car key, but it is not unlocked using your house key, garage door remote, or your neighbour's (who happen to have the same car as you) key.
A unit test typically features three different phases: Arrange, Act, and Assert (sometimes referred to as AAA). For a unit test to be successful, the resulting behavior in all three phases must be in line with expectations.
At Dnr TV there are two episodes with JP Boodhoo, where he gives an introduction to test driven development:
If you want to see unit testing and TDD used together with a whole bunch of other agile practices, I would recommend watching the sceencast series Autumn of Agile. This series shows the development of a fully unit tested application from start to finish.
As for podcasts, check out the following:
Since mock objects are a quite important part of unit testing, these podcast episodes might be of interest as well:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With