Re: Running NUnit tests from code

"Charlie Poole" <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nunit.user
Message-ID <001101c8cb26$5118e180$1400000a@ferrari>
Hello Gabriel,
 
Many of the classes you describe provide a very low-level interface to
NUnit, and one which may change with each new release - in fact they have
changed many times. You should rely on the TestRunner interface, creating
the appropriate runner type depending on your needs. SimpleTestRunner may
work for you or you may need to derive a class of your own for running in a
web context.
 
Have you considered simply testing business objects locally - as most folks
do?
 
Charlie


  _____  

From: [email protected]
[mailto:[email protected]] On Behalf Of Gabriel
Fernandez Perez
Sent: Tuesday, June 10, 2008 5:16 PM
To: [email protected]
Subject: [Nunit-users] Running NUnit tests from code



Hi all!

 

I am currently developing some Nunit test cases in order to test the
business classes of my web application. I am planning to create a web
interface to run these test cases, so I am currently searching for the way
of running the tests programmatically. I have been reading about TestSuite,
TestBuilder, SimpleTestRunner, etc classes provided by NUnit.Core, but I am
getting different errors every time I try. Could you provide some
guidelines/samples to do this?

 

Thanks in advance


  _____  

Todo ruedas: información práctica y todo el glamour del mundo del motor. MSN
Estilo y Tendencias <http://estilo.es.msn.com/>

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php

_______________________________________________
Nunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nunit-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.