Integration with MbUnit
I was tasked with integrating testing of a large system. I currently have a COM library that I am testing using a user interface I have created that runs a series of unit tests that are called on the DLL. This works, but I want to port this to MbUnit. When I run my first test in MbUnit, it seems to hang on "Found 1 tests". I need to close the IDE. Can anyone point me in the right direction?
Thank.
0
DanielPass
source
to share
2 answers
This is how we run our MBUnit test application (command line):
namespace UnitTest
{
class Program
{
static void Main(string[] args_)
{
// run unit test
AutoRunner auto = new AutoRunner();
auto.Load();
auto.Run();
HtmlReport report = new HtmlReport();
string fileName;
// generate report results
fileName = report.Render(auto.Result);
// launch results in user browser
System.Diagnostics.Process.Start(fileName);
}
}
}
+1
source to share