Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How we can automatically run the test methods in .net?

Tags:

c#

asp.net

I need to run all the test methods once at a time automatically. I have separate test methods written in separate files. Is there any way to run all the test methods at a time automatically. Please suggest if any.

like image 472
Pravin Sonawane Avatar asked Dec 19 '12 14:12

Pravin Sonawane


2 Answers

Continuous Tests: http://continuoustests.com/ is a free automated test runner that supports the .NET and Mono platforms. I don't think it has a command line version.

Gallio http://www.gallio.org/ has a command line runner and a GUI runner (Icarus). I use it but I am not sure if it will do automated or continuous test runs

NCrunch http://www.ncrunch.net/ is also an automated test runner that works in Visual Studio. It used to be free but is now payware.

like image 188
ScruffyDuck Avatar answered Sep 24 '22 05:09

ScruffyDuck


IF you are using NUnit you can use the NUnit GUI. Another option that is mostly framework agnostic is TestDriven.Net.

like image 33
tucaz Avatar answered Sep 24 '22 05:09

tucaz