I just cannot get enough of making videos for Apptacular it seems. This latest one is about unit tests, specifically MXUnit tests. I need to test if Apptacular is creating applications properly. I wrote up some traditional unit tests for my code, but I really need to test the code that Apptacular makes. So I got it to generate unit tests that help me determine if the applications that Apptacular creates actually work. However, in the process I have to wire up a few things that make it really easy for you to get started writing unit tests in your applications. So it’s a win-win.
The generator does some smart things like wiring up ORM tests that test across many-to-one relationships. (I haven’t figured out how to do one-to-many or many-to-many yet.) Anyway, check out the video.