Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting test runner to work with Gallio from Nuget

I think I'm missing something here. I installed Tesdriven and then Gallio (third link from top - Gallio 3.5 x64 installer)

Then I installed the mbunit dlls from Nuget because I didn't want to include a dll from my hard drive as it makes it difficult for the project to be ported to other machines..

However, when I try to run a sample test, testrunner insists that I reference the dlls from my hard disk.. the actual error message is this:

It looks like you're trying to execute a Gallio/MbUnit unit test.

For Gallio v3.0.6 build 787 / Gallio v3.1 build 313 or above (recommended):
Please ensure that the directory containing your 'MbUnit.dll' reference also contains Gallio's
test runner files ('MbUnit.dll.tdnet', 'TDNet\Gallio.TDNetRunner.dll', 'Gallio.dll' etc.)

For earlier versions:
You need to install Gallio (after TestDriven.Net) using its MSI installer.

You can find Gallio downloads and support here:
http://www.gallio.org/

So, is there a way to get testrunner to run the tests with just nuget packages, please?

like image 817
LocustHorde Avatar asked Oct 01 '12 10:10

LocustHorde


1 Answers

Currently nuget gallery has only 3.3.1 version of mbunit package, and you installed Gallio v3.4. It's very annoying limitation of gallio and mbunit. In order to use nuget package you have to downgrade Gallio on your machine to v3.3.1. Better solution it's mail to gallio/mbunit team and ask to upload nuget package with latest release or make it by yourself.

like image 162
Pavel Bakshy Avatar answered Nov 17 '22 01:11

Pavel Bakshy