python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Controller returns a null IActionResult when running xUnit test
I'm having some difficulties making my unit test pass.
This is my unit test class:
[Collection(nameof(VehicleControllerCollection))]
public class DetectVin
{
private readonly VehicleControllerFixt...
Nicholas Magnussen
Votes: 0
Answers: 1
"Result reported for unknown test case" from xUnit/dotnet test using Meziantou.Xunit.ParallelTestFramework
I've just added Meziantou.Xunit.ParallelTestFramework to several of my unit test projects (.NET Core 3.1), and am running them with dotnet test. Before the Meziantou.Xunit.ParallelTestFramework add, n...
P. Tobey
Votes: 0
Answers: 0
Get tests affected by changes in C#
I have a slow running test suite that is under constant development from multiple developers. Every time a change is made to the codebase all tests are rerun. The suite uses XUnit.
I want it so when a...
ZoSal
Votes: 0
Answers: 0
Why the Xunit CollectionDefinition Not Working with Class Library in .NET 6 Web App?
When developing a web app, quite often we need to do unit testing against objects in class libraries. I run into the problem when trying to use Xunit "CollectionDefinition" feature to share ...
bedrock
Votes: 0
Answers: 1