Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unit testing - videos or podcasts [closed]

Tags:

unit-testing

I am looking for podcasts or videos on how to do unit testing.

Ideally they should cover both the basics and more advanced topics.

like image 844
Charles Faiga Avatar asked Dec 22 '08 20:12

Charles Faiga


People also ask

What is unit testing with real life example?

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.

What should be covered in unit testing?

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.


1 Answers

At Dnr TV there are two episodes with JP Boodhoo, where he gives an introduction to test driven development:

  • Test Driven Development with JP Boodhoo, Part 1
  • Test Driven Development with JP Boodhoo, Part 2

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:

  • Polymorphic Podcast - Jason Bock on Unit Testing, Code Coverage & Analysis
  • Hanselminutes - Scott Hanselman on Test Driven Development
  • Hanselminutes - The Last Word on TDD, with Scott Bellware
  • Software Engineering Radio - Gerard Meszaros on XUnit Test Patterns

Since mock objects are a quite important part of unit testing, these podcast episodes might be of interest as well:

  • Hanselminutes - Scott Hanselman on Mock Objects
  • Dot Net Rocks - Eli Lopian on TypeMock.Net
  • Dot Net Rocks - Oren Eini on RhinoMocks
  • Dot Net Rocks - Oren Eini on RhinoMocks 3.5
like image 112
Erik Öjebo Avatar answered Oct 02 '22 14:10

Erik Öjebo