On 10/17/05, Ragnvald Barth <[EMAIL PROTECTED]> wrote:
> How do I write tests for internal and private methods and classes?

You don't.

> How do I control the order of the various tests?

You don't.

> How do I control the environment (start and stop applications that the
> code being tested is supposed to communicate with)?

You could use startup and teardown for the fixture to do this, but I
wouldn't recommend writing unit tests that rely on external
applications running.

--
Brad Wilson
http://www.dotnetdevs.com/
http://www.agileprogrammer.com/dotnetguy/

"A true friend stabs you in the front." - Oscar Wilde

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to