NUnit VS 2005 Pro and Express

M

Mark Jerde

I'm pulling my hair out here.... Trying to get a simple NUnit project
working. I just created two new virtual machines in Virtual PC, one with VS
2005 Pro and the other with Visual C# Express Edition. In both VMs I
downloaded and installed NUnit 2.2.8. In both VMs I commented out <startup>
so that
<supportedRuntime version="v2.0.50727">
is at at the top of the list.

In both VMs NUnit doesn't work. It seems to ignore my [TestFixture] and
[Test] attributes.

I used NUnit in VS 2003, and recently moved to VS 2005. I appreciate any
help / URLs to get NUnit working in VS 2005.

Thanks.

-- Mark
 
J

Jianwei Sun

Mark said:
I'm pulling my hair out here.... Trying to get a simple NUnit project
working. I just created two new virtual machines in Virtual PC, one with VS
2005 Pro and the other with Visual C# Express Edition. In both VMs I
downloaded and installed NUnit 2.2.8.


In both VMs I commented out said:
so that
<supportedRuntime version="v2.0.50727">
is at at the top of the list.

I am not sure why you need to do that, I don't need to anything special
when I installed NUnit2.2.8 to work with VS 2005.
In both VMs NUnit doesn't work. It seems to ignore my [TestFixture] and
[Test] attributes.

Can you explain what makes you feel that way..
 
M

Mark Jerde

The problem was 100% user error. I left off "public" on the class
declaration line. Works fine now.

-- Mark

Jianwei Sun said:
Mark said:
I'm pulling my hair out here.... Trying to get a simple NUnit project
working. I just created two new virtual machines in Virtual PC, one with
VS 2005 Pro and the other with Visual C# Express Edition. In both VMs I
downloaded and installed NUnit 2.2.8.


In both VMs I commented out said:
so that
<supportedRuntime version="v2.0.50727">
is at at the top of the list.

I am not sure why you need to do that, I don't need to anything special
when I installed NUnit2.2.8 to work with VS 2005.
In both VMs NUnit doesn't work. It seems to ignore my [TestFixture] and
[Test] attributes.

Can you explain what makes you feel that way..
I used NUnit in VS 2003, and recently moved to VS 2005. I appreciate any
help / URLs to get NUnit working in VS 2005.

Thanks.

-- Mark
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top