nunit-console Questions

4

Solved

I want to run tests from a console like this (being in any directory, the DLL file can be for a different .NET version): $ nunit3-console test.dll I googled a lot, but can't find how to set up t...
Kape asked 3/8, 2017 at 11:10

2

I have some small nunit tests written up for a Xamarin project. They run great on the terminal of my Mac Mini (jenkins build platform). When I run the same command on jenkins I'm getting a strange ...
Valueless asked 21/9, 2017 at 14:28

2

Solved

The old NUnit 2 console runner had an /exclude parameter to exclude tests with a specific Category attribute. Does anybody know if the console runner of NUnit3 supports this feature? .\nunit3-con...
Nonsectarian asked 6/11, 2017 at 6:36

2

I'm running dotCover with NUnit3 to get coverage reports on our build server. We also need the detail output from NUnit to show the test results. Is there any way to get both the NUnit test detail ...
Holstein asked 8/8, 2017 at 10:58

3

Solved

I am getting error message from my MSBuild: "nunit-console.exe" exited with code -100. Where can the meaning of the NUnit console exit codes be found?
Cherie asked 8/10, 2010 at 10:13

4

Solved

Is it somehow possible to pass values to NUnit tests via the command line? My tests use a certain URL. I have different instances of my code at different URLs and would like to specify the URL via...
Niersteiner asked 6/7, 2010 at 18:35

1

The NUnit-console 2.6.3 sometimes prints out the following error message instead of running tests. Here is excerpt from my Jenkins test build logs: 00:05:02.982 Process 'nunit-console-x86' [PID 36...
Pleasing asked 1/12, 2014 at 10:6

4

I am trying to use NUnit Runners 2.6.4 to run all test assemblies in my test folder. My current command looks like this: /nologo /noshadow /framework:net-4.0 /xml:.\test\TestResults.xml .\test\*.T...
Milkandwater asked 21/12, 2015 at 12:19

1

Solved

I am trying to upgrade my nunit-console version 2.4.8 to the latest or at least to version 3. The only help I found online was about Visual Studio and upgrading it there, but I am working on MAC an...
Watershed asked 18/12, 2017 at 8:44

1

Solved

I'm using TeamCity Enterprise 9.1.5 (build 37377). I have created a Build Configuration. I have created an NUnit Build Step. For NUnit Runner I selected NUnit 3. For Path to NUnit Console Runne...
Touraco asked 4/12, 2017 at 14:31

1

Solved

I have used NUnit to run my C# unit tests successfully within Visual Studio 2013, with the NUnit GUI and with NUnit console. For the first two I can get to my debug output (Console.Write(...)). In ...
Fairchild asked 25/9, 2017 at 12:52

1

I have an integration test that creates a database of type Microsoft.SqlServer.Management.Smo.Database: var defaultConnectionConnectionString = ConfigurationManager.ConnectionStrings["DefaultConne...
Claudicant asked 14/8, 2017 at 17:15

4

I used NUnit Runner in Atlassian Bamboo (latest version) with NUnit 2 but after upgrading to NUnit 3 it is no longer working. It appears something changed with the command line in NUnit 3. Anyone k...
Ulster asked 2/12, 2015 at 21:49

1

In Bamboo plan I have script-task, where script body is: @echo off SET nucpath=%1 SET projectvar=%2 SET xmlvar=%3 CALL SET xmlvar=%%xmlvar:-xml=--result%% SET outputvar=%4;format=nunit2 SHIFT SHI...

2

I am developing tests using Nunit and data driven testing approach. I have test method with 2 parameters: path to xlsx file and worksheet name. It works perfect in Visual Studio when I pass paramet...
Synge asked 29/9, 2016 at 11:13

2

Solved

When I try to use nunit-console.exe to run all the tests in a solution file as such: nunit-console.exe MyProject.sln I get the following exception (shown below). However when run the console runn...
Fogarty asked 4/8, 2011 at 22:15

3

My test suite project contains some explicit test cases, now i want to execute the test cases with the help of Nunit-console.exe. When I execute the test cases, the explicit test cases were exclude...
Impudent asked 17/8, 2009 at 14:30

1

Solved

I have Max OS X 10.11.1 installed, with Xamarin on it. I wrote simple testing class, just to test running Nunit tests on Mac OS X & Ubuntu, class has literally one method which returns string: ...
Hatchet asked 20/11, 2015 at 13:49

2

Solved

Ok, here's the thing, using Xamarin on OS X (the .cs file is a very simple test case that causes a backtrace) Compiling mcs /debug /lib:~(...)NUnit-2.6.3/bin/framework/:~(...)NUnit-2.6.3/bin/lib...
Atreus asked 25/3, 2014 at 14:26

2

Solved

I'm to use nunit-console to run all of the tests in my solution. I did this: c:\some\path>nunit-console-x86.exe MySolution.sln NUnit-Console version 2.6.2.12296 Copyright (C) 2002-2012 Charli...
Jigaboo asked 1/7, 2013 at 16:4

1

Solved

please tell me how to run nunit with msbuild. I am using TFS for code integration and VS2010 .
Columnar asked 5/1, 2011 at 14:40

7

Solved

I have a large set of NUnit tests; I need to import the results from a given run into a database, then characterize the set of results and present them to the users (email for test failures, web pr...
Emphatic asked 23/4, 2009 at 17:32

2

Solved

I am having problems running tests with the command line NUnit test runner. I am using version 2.5.4 with .NET 4 on an x64 machine. Using the following line results in a failure "Could not load f...
Cymogene asked 16/4, 2010 at 14:39

2

Solved

Exception: ProcessModel: Default DomainUsage: Single Execution Runtime: net-4.0 Unhandled Exception: System.ArgumentException: The net-4.0 framework is not available Parameter name: framework at N...
Brause asked 14/4, 2010 at 8:6
1

© 2022 - 2024 — McMap. All rights reserved.