Menu

#49 Required attributes not mentioned in tutorial?

open
nobody
None
5
2006-05-24
2006-05-24
No

I'm new to NUnitAsp and I started going through the
tutorial here:

http://nunitasp.sourceforge.net/tutorial/index.html

When I got to the step labeled "run the first test",
NUnit acted as if I had no tests setup, despite the
fact that my code matched exactly what appeared in the
tutorial.

So, I looked through some of the other examples and
noted the use of two attributes, [TextFixture] (for the
class) and [Test] (for the methods).

I applied these, and also added a "using
NUnit.Framework;", and then things seemed to work.

Is this a documentation bug?

Discussion


Log in to post a comment.