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

All current samples are using Views. API should be added.

feature

It should be based on the MVC options. It should provide `.WithEndpoints` method after the `StartsFrom` call.

feature

It should be resembling JsonSeriallizerSettings as a structure and idea.

feature

- [ ] MyTested.AspNetCore.Mvc.Formatters.Json - JSON extension methods - [ ] MyTested.AspNetCore.Mvc.Formatters.Xml - XML extension methods - [ ] MyTested.AspNetCore.Mvc.Middleware - middleware testing - [ ] MyTested.AspNetCore.Mvc.Server - integration testing...

enhancement

- [x] .WithTempData - [ ] .WithViewData - [ ] .WithViewBag

feature

These plugins should be separate NuGet packages, not included in the `Universe` one: - [ ] SimpleInjector - [ ] StructureMap - [ ] AutoFac - [ ] Ninject -...

enhancement

Example test: ```c# MyController .Instance() .WithFilters(filters => filters .OnActionExecuting() .OnActionExecuted()) .Calling(c => c.Index()) .ShouldReturn() .Ok(); ```

feature

For example: ```c# // Setup services .AddTestServices("Name", testServices => testServices .AddSingleton(someMock)); // Test MyController .Instance() .FromServices("Name") // Name may change .Calling(c => c.Index() .ShouldReturn() .View(); ```

feature

For example to have different service setup for Controllers, and another for View Components.

enhancement