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

Example test: ```c# MyController .Instance() .Calling(c => c.Index()) .WithExecutedResult() .ShouldHave() .HttpResponse(response => response .WithStatusCode(200)); ```

feature

Example test: ```c# MyController .Instance() .WithActionExecuting() // Name may change .WithActionExecuted() // Name may change .Calling(c => c.Index()) .ShouldReturn() .Ok(); ```

enhancement

Example test: ```c# MyRouting .Configuration(routes => routes.MapControllerRoutes()) .ShouldMap("/My/Action/1") .To(c => c.Action(1)); ```

enhancement

```c# MyController .Action(c => c.Index()) // does not execute the action .ShouldHave() .ActionAttributes(); ```

enhancement

Example test: ```c# // Page Model public class IndexModel2 : PageModel { public string Message { get; private set; } = "PageModel in C#"; public void OnGet() { Message +=...

feature

https://github.com/dotnet/arcade/tree/master/src/Microsoft.DotNet.ApiCompat

enhancement

Currently, the code is very clean but there are differences here and there so a code analysis rule set should enhance the library. Check the ASP.NET Core MVC source for...

enhancement