Hi

I have NUnit 2.1.4 and NAnt 0.84. I need to call each test ( marked as [Test] in my 
testfixture ) using nUnit2 task
I need this so I can change the sequence in which each test is run.
I have added the testcase attribute to point to the method marked [Test].

When this task runs, this attribute is ignored and all tests in all fixtures are run.

How should testcase attribute be used to get this to work properly?

Here is my xml build file
<test testcase="MyModuleTest.MyTestClass.MyTest"
assemblyname="${test.assembly}"
appconfig="${test.appconfig}"/>

The corresponding test code -
namespace MyModuleTest
{
[TestFixture] public class MyTestClass
{
[Test] public void MyTest() 
{
...
}
}
}
       
Any info on this is appreciated!

thanks
Sonali


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to