Maybe I'm missing something, but I can not seem to work on NUnit in Visual Studio 2008 Standard Edition. I am trying to use NUnit 2.5.7 in a C # class library project. I am following the structure of samples given in the download of NUnit.
The steps I am taking here are 1) Download and install NUINT 2.5.7 2) Create a C # Class Library project. 3) Add reference to the NUIT Framework in my project 4) Create a class 5) Add "Using NUnit.Framework" 6) Add [TestFixture] to the top of my class Step 3
The issue comes in 6th phase, the visual studio testfacesattribute or test attribute at all Does not recognize The samples included with the NUnit download are in the statement using the step 5, and [TestFixture]. What am I missing?
using the system; Using NUnit.Fraamework; Namespace unit tests {{TestFixture} Public category MyUnitTests {[Test] Public Zero TestMethod1 () {// My unit test}}}
thanks
Can you veiw NUnit.Fraamework in the object browser?
Comments
Post a Comment