Unit Testing on the NetBurner

Topics for the Eclipse Environment
Post Reply
User avatar
tod
Posts: 587
Joined: Sat Apr 26, 2008 8:27 am
Location: Southern California
Contact:

Unit Testing on the NetBurner

Post by tod »

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?
User avatar
tod
Posts: 587
Joined: Sat Apr 26, 2008 8:27 am
Location: Southern California
Contact:

Re: Unit Testing on the NetBurner

Post by tod »

I found a mocking framework. :D 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.
Post Reply