Julia,
As long as you can call the methods on your classes somehow (and
configure the environment so that you can make the calls), then you
shouldn't have a problem.
Your NUnit tests are not coded into your classes (well, they could, but
they shouldn't). Rather, you should have separate classes which are your
test cases and then they call your classes you are trying to test.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Julia" <co********@012.net.il> wrote in message
news:uP*************@TK2MSFTNGP15.phx.gbl...
Hi,
We are going to invest in testing and I wonder are there any guidelines
to design NUnit friendly classes?
Should I consider at all ease of use in unit testing when designing my
classes?
Thanks in advance.
Note that I am using NUnit to test my classes I am not doing TDD for now.