Friday, May 11, 2007 11:39 PM
Well, despite
CodePlex's best efforts, I finally managed to get a beta of
NStub out. I've been working on NStub for quite some time and but I've finally gotten around to completing it. If you're not familiar with NStub, basically it's a test code stub generator for legacy assemblies. You point it at any .NET assembly and it will create a fully compiling C# project with a class file for every type found in the assembly which contains a method for every method found in the original type. The catch is that "Test" is appended to both the class and the method and the methods are directed with NUnit test attributes. So MyClass.MyMethod() becomes MyClassTest.MyMethodTest(), get it? This is intended for classic fine grained unit testing where you test every single method individually.
To be honest, I started this project before I caught on to the whole idea of Test Driven Development so it really isn't too much of use to me now since it's essentially a code generator for post testing. However, I decided to go ahead and finish it in hopes that it may be of help to someone else out there. That said, I don't plan to do too much additional work on it immediately but when you find bugs--and you will--feel free to drop them in the project's
Trac page and I'll be happy to put a fix out. Also, new features will be driven by the community at this point so if you have any ideas, or you want to contribute, feel free to drop me a line either here or over on the project page.
Enjoy!