MyTested.AspNetCore.Mvc icon indicating copy to clipboard operation
MyTested.AspNetCore.Mvc copied to clipboard

Fluent testing library for ASP.NET Core MVC.

Results 106 MyTested.AspNetCore.Mvc issues
Sort by recently updated
recently updated
newest added

Revised all projects to build with .NET 6 and use AspNetCore v6 / EF Core v6 packages. Addressed issues within the codebase so that all unit tests pass. About 100...

It's always hard to write integrations tests and eventually, I found your project. This is an amazing solution. Thanks for your efforts on this. I setting up tests for a...

question

**Is your feature request related to a problem? Please describe.** I am trying to test using aborted cancellation tokens to check request abort logic within a filter. However, there is...

feature

Prerequisites: - Visual Studio 2022 with the ASP.NET and web development workload - .NET 6.0 SDK or later Full list: [https://docs.microsoft.com/en-us/aspnet/core/migration/50-to-60?view=aspnetcore-5.0&tabs=visual-studio](https://docs.microsoft.com/en-us/aspnet/core/migration/50-to-60?view=aspnetcore-5.0&tabs=visual-studio) - Upgrade TargetFramework to net6.0 and VersionPrefix to 6.0.0...

**Describe your issue** RestrictingForAuthorizedRequests() does not work if [Authorize] attribute is of the whole controller **Additional context** This is the error message: When calling RandomAction action in RandomController expected action...

question

I want to use Autofac in my project but can't add this. If I use the sample in your issues, autofac does not register my generic mediator Handlers, i.e. `WithServices(s...

question

When trying to check the result of a controller's asynchronous action through the builder's **Calling()** and **ShouldReturn().ActionResult(...)** methods I get the following exception: > MyTested.AspNetCore.Mvc.Exceptions.InvocationResultAssertionException > When calling List action...

bug

**Describe your issue** I have a CMS system which by default every controller gets static content. Some sites need more additional data hence it derives from the `BaseApiController` and overrides...

bug

- [x] Creating objects with zero or 1 constructor can be cached - [ ] Action call with no or constant parameters can be cached as delegates - [ ]...

feature

- [x] ControllerContext.GetRouteData() - [x] Route testing with expressions - [x] Route testing to controller only - [x] POCO controller routing - [x] With route values - [x] Handlers -...

feature