This project is read-only.

Possibility to use launch NBI test with C# API ?

Feb 20, 2015 at 8:38 PM
Hello,

Is it possible to launch NBI test with a C# API and not use NUnit framework as test manager?

The aim of this request is to use classic MSBuild framework that is currently used in my other tests projects.

Thanks for your help. I'm beginner with NBI.

Regards,
Feb 21, 2015 at 4:50 PM
Yes, you can start the framework of NBi from C# code and remove the need of using NUnit GUI or console (or Gallio). To achieve this just take a look to the code in the project Testing, folder Acceptance, class RuntimeOverrider.cs but you will still have dependencies to NUnit (It doesn't sound like a problem when I read your goal).

But IMHO, it would be easier to use the MSBuild task for NUnit available at [MSBuild community tasks] (https://github.com/loresoft/msbuildtasks/blob/master/Source/MSBuild.Community.Tasks/NUnit.cs) website.

By the way, I'm interested by your eventual findings (problems and solutions), if you could share them it would be great.
Feb 26, 2015 at 8:27 PM
Thanks for your help Seddryck,

I will try to find some help into the RuntimeOverrider.cs. I will share my problems or solutions on this Thread.

Regards,