NStub is a tool to help developpers to create unit test for their assemblies, it is designed to be modulable and easy to use.
Recently Jeremy Jarell announced a Beta version of his tool which come unfortunately as a .msi file. Since my unit test coverage on Circ had dropped a lot with the new features I supposed I could give a shoot to NStub (moreover since Jeremie is always a name synonym of great things
), testing in the same process the advance of the Windows Form implementation of Mono. Here is my steps to get the thing compiling and running :
- Checkout a svn version of NStub : svn checkout http://nstub.googlecode.com/svn/trunk/ nstub
- In the nstub folder created, open the file NStub.Gui/Properties/Ressources.resx and at line 122 change « ..\Resources\NStub.ico » to its Unix form : « ../Resources/NStub.ico »
- Fire Monodevelop (I use a svn version so it might not work in Monodevelop 0.13) and open nstub.sln in the root directory. It should report an error about a Deployment project but don’t bother with that.
- Build the solution with the default target
- In a terminal cd to nstub/NStub.Gui/bin/Debug and type : MONO_IOMAP=all mono NStub.Gui.exe
Here is the result :
Post a Comment