I looked around a bit for info on unit testing on the NetBurner and didn't find anything. I then explored the various frameworks available and ended up with UnitTest++. In case anyone else is interested I wrote up a blog article http://syncor.blogspot.com/2010/02/unit ... world.htmland made a couple of videos. The text is mostly about how I ended up using UnitTest++, if you just want to see how to do unit testing on the NB, watch the videos. (If you want to skip the blog entirely the youtube URLS are http://www.youtube.com/watch?v=LnAuAJfMRy8 and http://www.youtube.com/watch?v=NxF4-fJG304 I would suggest you set the quality on youtube to the 480p setting and increase the size of the window.
If there is any interest I can always post my version of the UnitTest++ library up in the forum. Now does anyone know of a good lightweight mocking framework that will compile for the NetBurner?
Unit Testing on the NetBurner
Re: Unit Testing on the NetBurner
I found a mocking framework. AMOP - Automatic Mock Object for C++ (I have no idea what the 'P' is for). It compiled with a simple change (commenting out include for memory.h) and passed all its own unit tests.