Getting a test runner to work with Gallio from Nuget

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

Then I installed mbunit dlls from Nuget because I didn’t want to include the DLL from my hard drive, as this makes it difficult for the project to be transferred to other machines.

However, when I try to run a test sample, testrunner insists that I reference the dll from my hard drive. Actual error message:

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 tests only with nuget packages?

+6
source share
1 answer

Currently, the nuget gallery only has the mbunit package version 3.3.1, and you have installed Gallio v3.4. This is very annoying limiting gallio and mbunit. To use the nuget package, you need to downgrade Gallio on your machine to v3.3.1 . The best solution that it sends to the gallio / mbunit command and asks to download the nuget package with the latest version or do it yourself.

+9
source

Source: https://habr.com/ru/post/926656/


All Articles