The practice is well-defined in a couple of articles on Wikipedia and on Martin Fowler’s website. But as long as I’ve been reading about this best practice, I’ve never seen it implemented at any of my past jobs (or my current one for that matter). Fortunately, one of the consultants I’m currently working with not only has it implemented, but has the necessary software and test projects on a USB key that he carries with him from job-to-job.
Before I demonstrate it to the broader software team as a practice, I’m trying to get it working on my own machine. Because he uses MbUnit instead of NUnit as part of his implementation, it took me a little longer to get the second of his six test projects working. A little googling for Nant and MbUnit yielded an article that listed 5 files to be copied to the bin directory of Nant. Once I did that, the second test project worked fine.
Strangely, I only saw 4 of the 5 files in this list:
- MbUnit.Core.dll
- MbUnit.Framework.dll
- MbUnit.Tasks.dll
- Quickgraph.dll
- QuickGraph.Algorithms.dll
The core dll was missing, but copying the other 4 dlls did the trick.