I am trying to get NAnt and NUnit working in together and experiencing a problem.
After sifting through the NAnt unit test source, it appears that people are using the concept of an AllTests class that examines a given assembly for types that inherit from TestCase. Is that the only way to get Unit tests to function under NAnt or will the test cases that I have using attributed based declaration [TestFixture] and [Test] be able to work somehow?
I ask this because I have a series of tests that work perfectly when executed from the NUnit GUI or console, but when I try to run the NUnit task, I get:
BUILD FAILED C:\Impact\impact.build(-1,-1): Error running unit test. Object reference not set to an instance of an object. Try `NAnt -help' for more information.
Any light on this error or if I am thinking about the problem from the correct angle would help.
Mike
|
- Re: [Nant-users] Using NUnit Task Mike Ratliff
- Re: [Nant-users] Using NUnit Task Ian MacLean
- RE: [Nant-users] Using NUnit Task Bernard Vander Beken
- RE: [Nant-users] Using NUnit Task Simpson Chris, Sale