Search code examples
Mock the Request when testing a Razor Page...


c#asp.net-corexunitxunit.net

Read More
.NET (core) 5.0: Unit testing hangs forever...


.net.net-corenunitmstestxunit

Read More
How Can I Setup mock object for unit test with Moq and Xunit in ASP.NET MVC Application?...


asp.netasp.net-mvcunit-testingmoqxunit

Read More
How to capture an exception thrown by an invocation using FluentAssertions...


c#xunitfluent-assertions

Read More
XUnit tests not executed anymore with Visual Studio 17.4.0...


xunitvisual-studio-2022

Read More
How do I mock IConfiguration with Moq?...


c#configurationasp.net-core-mvcmoqxunit

Read More
How unit test a db repository method that calls on 2 other methods in the same repo...


c#unit-testingmoqxunit

Read More
Could not set ASP.NET Core 3.1 environment string within an xUnit Integration Test...


asp.net-coreintegration-testingxunit

Read More
Is it possible to pass number of times invocation is met as parameter to a unit test class method?...


c#unit-testingmoqxunit

Read More
xUnit testing live Get request...


c#xunit

Read More
XUnit/FsUnit framework throwing "Object reference not set to an instance of an objct"...


f#xunitfsunit

Read More
xUnit GET results returning null...


c#xunit

Read More
IEnumerable swallows an exception and a unit test cannot catch it...


c#.netunit-testingxunitfluent-assertions

Read More
xUnit framework: Equivalent of [TestFixtureSetUp] of NUnit in XUnit?...


nunitxunit

Read More
XUnit integration Test with IDbContextFactory for a Generic Data Service...


c#entity-framework-core.net-6.0blazor-server-sidexunit

Read More
Moq error "Moq expected invocation once, but was 0times", Pass in one test case but fails ...


c#unit-testing.net-coremoqxunit

Read More
Xunit Method on Datarow...


xunitdatarow

Read More
FluentAssertions - Check if all properties have default values when given empty input...


c#xunitfluent-assertions

Read More
Why WebApplicationFactory is saving state from previous builds?...


testing.net-coreasp.net-core-webapixunitasp.net-core-6.0

Read More
XUnit ThrowsAsync<> doesn't seem to be checking the exception type. Is this a bug?...


c#.netunit-testing.net-corexunit

Read More
How do I assert on properties of an exception in XUnit?...


c#unit-testingxunitassertion

Read More
Create multiple test scenarios for a method...


c#.netunit-testingtestingxunit

Read More
System.InvalidOperationException : No connection string named 'db_modelContainer' could be f...


c#entity-frameworkxunit

Read More
In AzurePipelines.yml file using (task: DotNetCoreCLI@2) is it possible to add an argument to rerun ...


testingazure-pipelinesxunitspecflow

Read More
Regex.IsMatch to MatchRegex in FluentAssertions...


c#.netunit-testingxunitfluent-assertions

Read More
How can we include dependency library in C# xunit integration test project...


javac#dependenciesxunitspecflow

Read More
Mocking issue: Can not instantiate proxy of class: Microsoft.AspNetCore.Identity.UserManager`...


c#unit-testingasp.net-coremoqxunit

Read More
How to run a single xunit C# test using dotnet test command line...


c#.netunit-testingcommand-linexunit

Read More
xunit test previousValue...


xunitdatarow

Read More
How to avoid or skip some private method for XUnit test?...


c#unit-testingxunit

Read More
BackNext