Search code examples
How do I mock a List of custom objects and set it up to return a real instance of an object...


c#.netmockingxunitxunit.net

Read More
ASP.NET Core WebApplicationFactory using InternalsVisibleTo does not work in xunit...


c#asp.net-coretestingxunitdotnet-test

Read More
Can't Assert exception in async method with Xunit...


c#.net-corexunitxunit.net

Read More
AutoFixture.Freeze IEnumerable of Mocks...


c#moqxunitautofixture

Read More
How to use xUnit to test code when Azure Service bus throws Transient exceptions...


c#azure-functionsazureservicebusxunitdotnet-isolated

Read More
Expected worker.ExecuteTask.IsCanceled to be true, but found False...


c#windows-servicesxunitworker-service

Read More
Mock.Verify() failed - This setup was not matched?...


c#moqxunit

Read More
Where to create HostBuilder and avoid 'The following constructor parameters did not have matchin...


c#.net-corexunit

Read More
EF Core (in-memory database) - 'The instance of entity type X cannot be tracked because another ...


c#entity-framework-corexunit

Read More
Unit Tests Mock ControllerContext HttpContext No service for type 'Microsoft.AspNetCore.Mvc.View...


c#asp.netunit-testingmoqxunit

Read More
ASP.NET Mock Failed SignInResult is returning Null...


c#asp.netunit-testingmoqxunit

Read More
Skip Fact/Theory when precondition is not satisfied...


c#xunit

Read More
Get configuration in Unit Test...


c#xunitappsettings

Read More
UnitTests: UserManager<ApplicationUser> Mock Setup FindByIdAsync Returns NULL...


c#unit-testingmockingmoqxunit

Read More
New virtual creates a new method instead of hiding...


c#inheritancemoqxunitopc-ua

Read More
Is there a way to quickly find out if a C# class has an xunit test on any of its methods in Visual S...


c#visual-studioresharperxunitvisual-studio-2022

Read More
SQLite does not support sequences - How to solve?...


sqliteentity-framework-corexunit.net-6.0

Read More
How to test async Task<IActionResult> returning IEnumerable<model> using moq in xunit?...


c#asp.net-coreasp.net-core-webapimoqxunit

Read More
Unsupported expression: Non-overridable members (here: ) may not be used in setup / verification exp...


.net.net-coremoqxunit

Read More
Unit Testing Controller ActionResult<T> Response...


unit-testingasp.net-coremoqxunit

Read More
HttpClient.PostAsync() method is hanging forever in C# xUnt test...


c#mstestxunitdotnet-httpclientvisual-studio-test-runner

Read More
Correct initialization of state for properties without a setter in unit tests...


c#initializationxunitgetter-setter

Read More
How to print output in Visual Studio Test Explorer from F# and xUnit on success?...


visual-studiof#xunit

Read More
How to mock a web api for testing...


unit-testing.net-coreintegration-testingxunit

Read More
Ignore xunit.runner.json on local...


.net-corexunit

Read More
How to use MassTransit test harness to test Consumer with constructor dependency injection?...


xunitmasstransit

Read More
Where is the xUnit project type in Visual Studio 2022?...


c#visual-studioxunitvisual-studio-2022xunit.net

Read More
how to throw an exception using Assert.Throws in Xunit...


c#.net-corexunitxunit.net

Read More
xUnit test fails while comparing Lists...


c#linqasp.net-corelinq-to-entitiesxunit

Read More
getting an error The following constructor parameters did not have matching fixture data: PostgreSql...


c#moqxunitxunit.netxunit2

Read More
BackNext