Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
63 views

How to print off .xml test result from Selenium in same format as NUnit Console?

I'm trying to build an Azure pipeline that can read test results so that I can automatically update their status in Test Plans. The only way I've been able to print off test results that the Visual ...
Cole's user avatar
  • 35
2 votes
4 answers
83 views

SetupFixture methods are not executing in expected order

Description: The [SetupFixture] class methods [OneTimeSetup] and [OneTimeTearDown] are not executing as expected. Instead of running once before and after all tests in the namespace, they appear to be ...
kunal kaklij's user avatar
1 vote
1 answer
161 views

How do I get SpecFlow.NUnit to suppress passing scenarios from console output?

When I run my SpecFlow suite with dotnet test, I don't want to see all the step output output from the passing scenarios. I've got nearly 200 scenarios-- I only want to see what's broken! This was ...
Grant Birchmeier's user avatar
0 votes
1 answer
68 views

Why do we need --dispose-runners parameter in NUnit Console

Referring to the --dispose-runners command line here My question is of course the runner agent is disposed when the nunit console process completes, so why do we have to specify it at all? Is there a ...
Graviton's user avatar
  • 83.3k
2 votes
1 answer
236 views

Debug NUnit dotnet test run from VS Debugger, not Test Explorer

TL;DR Is there an equivalent dotnet test switch to NUnit's --inprocess? Because running dotnet test as StartProgram with the normal VS Debuigging experience (F5) does not allow to debug the test. ...
Martin Ba's user avatar
  • 39.1k
0 votes
1 answer
186 views

Nunit console runner to test many dll's at once

I have a list of about 20 dll's that contain tests that I would like to run with the nunit.consolerunner via a Github actions on a Windows machine. Using Powershell I have created a string with all ...
Notten's user avatar
  • 13
-1 votes
1 answer
115 views

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.
Hemant Pawar's user avatar
1 vote
1 answer
284 views

Getting SocketException when trying to run multiple NUnit3 Console Runner processes using Jenkins

I have a Jenkins test agent that is set up to run two distinctly different test jobs that use Nunit3 Console Runner to execute the tests. Each job starts the Nunit3 Console executable on the test ...
Ken's user avatar
  • 102
1 vote
1 answer
94 views

Can NUnit TImeoutAttribute override NUnit Console Runner timeout?

I currently use NUnit Console to run my NUnit 3 tests. I pass a Timeout command-line option to NUnit Console Runner. This timeout is about 30 minutes, but I have one test that takes longer than 30 ...
Ken's user avatar
  • 102
3 votes
1 answer
408 views

nUnit console fails to use proper configuration file under .NET Core

I have a C# test project compiling under .NET6, using System.Configuration.ConfigurationManager 7.0.0 (so I can use configuration files instead of JSON files, for legacy reasons). The code looks like ...
Ketchup201's user avatar
0 votes
1 answer
293 views

How to execute specific test classes with Jenkins Build Step

I've got Jenkins downloaded and setup on my local machine. So far I've been able to have it sync up with my github repo, pull the code down and build successfully, and then it also runs all the tests. ...
user1818298's user avatar
0 votes
1 answer
1k views

"No test is available" when running .Net7.0 tests with nunit console runner using dotnet test

I am trying to run my NUnit tests built with .Net 7 in Jenkins. They run perfectly fine locally in my Visual Studio. I can't get them to run on my Windows machine my Jenkins Agent is running on since ...
J.R. Bye's user avatar
  • 118
0 votes
1 answer
278 views

Use NUnit Console Runner to run all of the test projects under a VS solution

My VS Solution consists of production code and also test code, properly separated into different csprojects. It's always one to one correspondence between a production project and a test project. Is ...
Graviton's user avatar
  • 83.3k
0 votes
1 answer
161 views

How to set global timeout for project in NUnit

I want to set a global timeout for running a project in NUnit so that all tests in the project in total do not exceed for example 1 hour and sequential execution of tests is interrupted when this ...
Max's user avatar
  • 3
0 votes
1 answer
101 views

Unit testing net5.0 ASP.Net projects with the NUnit console?

I've recently been trying to implement automated unit test within my Jenkins pipeline using the nunit3-console.exe, for multiple Test projects that implement Microsoft and Asp.Net related ...
Nougat's user avatar
  • 157

15 30 50 per page
1
2 3 4 5
14