Search code examples
When testing a controller method how should you handle the scenerio when it calls a local method...


c#unit-testingxunit

Read More
C# Project Reference Warning Type confilict...


c#unit-testingvisual-studio-codexunitproject-reference

Read More
Unit Test Mock Database Returning Null...


c#unit-testingmoqxunitc#-5.0

Read More
How can I stop the Visual Studio Test Runner when a test hangs...


unit-testingvisual-studio-2013xunitxunit.net

Read More
How do I unit test an instantiated class that is also retuned by a method?...


c#unit-testingmoqxunitxunit.net

Read More
Pipeline: .NetCoreCLI Test Task throws non-zero error...


unit-testingazure-devopsazure-pipelinescode-coveragexunit

Read More
Enum validation...


c#enumsxunit

Read More
Why is .NetCore HttpClient disposed in second retry in my Unit Test?...


c#.netxunitnsubstitute

Read More
Is there a way to verify ILogger <T> instance does not have a LogError?...


c#moqxunit.net-core-3.1xunit.net

Read More
SQLite in-memory databases testing an EF Core application with temporal tables...


c#sqliteentity-framework-corexunittemporal-tables

Read More
Dbset of in memory database returns entity with empty collection navigation property...


c#entity-framework-corexunit

Read More
Problem mocking IHttpMessageHandler for both IHttpClientFactory and typed HttpClient...


c#unit-testingasp.net-corexunithttpclientfactory

Read More
C# xUnit conversion issue when using InlineData...


c#.netunit-testingattributesxunit

Read More
Catch StatusCode from execution value in Xunit...


asp.net-corexunit

Read More
How to mock a method that is called multiple times in single call using Moq in C#.NET?...


c#asp.net-coremoqxunitmoq-3

Read More
Getting NullReferenceException while mocking Async method in Unit Test (Xunit - Moq)...


c#unit-testingasync-awaitmoqxunit

Read More
How to moq the method of multilevel interfaces inheritance which is injected to another class...


c#asp.net-coremoqrepository-patternxunit

Read More
How to test if a record was created in the database?...


c#asp.netxunit

Read More
Basic Assert in xUnit...


c#unit-testingxunit

Read More
Do I need a solution to create xUnit tests?...


c#.netxunit

Read More
How to make a test case ignore the constructor in xUnit?...


.netunit-testingxunitxunit.net

Read More
xunit - how to get HttpContext.User.Identity in unit tests...


c#unit-testing.net-corexunit

Read More
Mocking DbEntityEntry...


entity-framework-5moqdbcontextxunit

Read More
How do I Skip xUnit.net test based on certain bool condition in test class?...


xunit

Read More
XUnit Test Moq failing...


c#asp.net-coremoqxunit

Read More
Xunit - Test Case With Moq for Below Repository Test cases Possible in C#?...


c#asp.net-coremoqxunit

Read More
Unit Testing with Specification Pattern and Unit of Work is not returning data on setup...


c#.netunit-testing.net-corexunit

Read More
Using Xunit in .Net core web API - How to test/ pass 500 status code...


c#asp.net-coretddxunithttp-status-code-500

Read More
xunit read application appsetting file not its own in .net core...


asp.net-coreconfigurationxunitappsettings

Read More
Unit Testing Works in VSCode on Windows but not Linux...


linuxdebuggingvisual-studio-code.net-corexunit

Read More
BackNext