Questions tagged [nunit-console]

nunit-console.exe is the command line version of NUnit, provided so that you can run your unit tests from the command line.

nunit-console.exe is the command line version of NUnit, provided so that you can run your unit tests from the command line. This is the ideal solution when you need to run your unit tests on a build server or run code coverage with NCover. There's both an x64 and x86 version for running unit tests compiled against 32-bit and 64-bit modes.

In NUnit3, the executable was renamed nunit3-console.exe

272 questions
0
votes
1 answer

NUnit Command line Switch /include: execution order

I run nunit-console using the following command line: nunit-console-x86.exe IntegrationTests.dll /include:InstallerTests,SanityTests,DebuggingTests /xml=IntegrationTestResults.xml /nologo /labels /timeout:960000 My issue is that the test runs in…
Ashok Mazumder
  • 149
  • 1
  • 2
  • 8
0
votes
1 answer

nunit-console not run tests with TestCase and TestCaseSource

I'm using Xamarin Studio on OSX and i have implemented a test suite of PCL project (without references to View iOS and Android) with NUnit.Framework. All works fine inside Xamarin Studio via GUI (all tests are runned and it worked). Now i'm trying…
Luigi Saggese
  • 5,299
  • 3
  • 43
  • 94
0
votes
2 answers

How can I delete tests in Nunit when I loaded the Project From Visual Studio

I am attempting to automate tests using Nunit and have loaded a project from Visual Studio. I do not understand how to delete Tests i do not want in my project. I know I can choose not to run tests but when i am automating the tests I will need some…
user1622681
  • 93
  • 16
0
votes
1 answer

Windows task scehduler not fully completing a task

I have some Nunit automated tests. I am trying to use Nunit console to run those tests over Selenium grid. I have created a .bat file to launch the tests over the grid, which looks at a list of tests in a text file. When I manually run the .bat…
0
votes
1 answer

How to skip further execution in Nunit test case once particular assert passes

Below is my test case, Public static void SampleTest() { // Pre conditions for both assert 1 and 2 if(condition1) { // Assert 1 } // Pre condition for Assert 2 // Assert 2 } Once condition1 satisfied and assert 1…
0
votes
1 answer

Another PartCover Empty Report Question

I've tried the steps listed here, but I still can't get partcover to generate any output other than: Here is what I've done: Installed 2.2 instead of 2.3 Ran corflags…
ConsultUtah
  • 6,639
  • 3
  • 32
  • 51
0
votes
2 answers

NUnit console can't load assembly for serialization test

Error message: System.Runtime.Serialization.SerializationException : Unable to find assembly 'MyCompany.Plates, Version=12.15.0.0, Culture=neutral, PublicKeyToken=0b9f95a95d107d22'. +++++++++++++++++++ STACK TRACE: at …
Ali
  • 1,462
  • 2
  • 17
  • 32
0
votes
1 answer

Dotcover report (nunit) not covering all classes in assembly.

Dotcover report (nunit) is not covering all the classes in the assembly. When I see the report generated by Dotcover using nunit-console.exe (2.4.1), I find only couple of classes from the assembly but not all.
ssingh
  • 11
  • 1
0
votes
1 answer

Jenkins generate nunit report nunit-report.xml

I've configured Jenkins to run nunit-console as described here: Execute NUnit with Jenkins and here: How do you run NUnit tests from Jenkins? I've added "Execute batch command" as a build step and entered the following values: %nunit-console%…
ShaneKm
  • 20,823
  • 43
  • 167
  • 296
0
votes
1 answer

running nunit tests (x86) with gallio

I am trying to run nunit tests with gallio. These tests run with nunit-console-x86.exe When I run them with nunit-console.exe, I am getting System.BadImageFormatException Running with Gallio.Echo.exe (installed the x86 bundle from gallio.org), I am…
0
votes
2 answers

Debuggin C# In Jenkins and NUnit

I need starting a debugging project before jenkins start test Nunit, is possible to do this? I have a solution with 15 projects and I need to debugging all solution for do a test in nunit, if I don't start debugging the nunit all test return errors
Ivo Villa
  • 99
  • 1
  • 2
  • 12
0
votes
1 answer

NUnit and Windows Phone Library (System.TypeLoadException)

I am trying to test a Windows Phone 7.1 class library with NUnit and the standard console (GUI or not GUI) runner. After my problem, related below I have found this…
ferpega
  • 3,182
  • 7
  • 45
  • 65
0
votes
1 answer

Nunit does not run the tests for a specific namespace in an assembly

I have big assembly containing large number of tests. These tests are grouped under different namespaces. I tried running the test cases for a specific namespace from the nunit-console but no tests are run. This happens only for this assembly. It…
Prashanth R
  • 224
  • 5
  • 14
0
votes
3 answers

Cruisecontrol task with can execute even if Soursecontrol is not accessible

I have deployed CruiseControl.Net (Version 1.6.7981.1) server and it does the following tasks: Build trigger Labeller VSTS Soursecontrol block (Get the soursecode from TFS 2010 server) Build the code in Debug mode Run NUnit test using Nanat…
GDG
  • 1
  • 1
-1
votes
1 answer

How Can I remove all details from TestContext.CurrentContext.Result.Assertions (NUnit.Framework)?

I want to empty/ remove all details packed in 'TestContext.CurrentContext.Result.Assertions'. How can I do the same ? Pls. guide.
1 2 3
18
19