MyTested.AspNetCore.Mvc
MyTested.AspNetCore.Mvc copied to clipboard
Fluent testing library for ASP.NET Core MVC.
http://docs.asp.net/en/latest/data/ef-mvc/intro.html
They should be Component -> Http -> Action. Also add base classes and interfaces for those because different components have different level of context data.
Like: ``` c# .ViewBag(viewBag => viewBag.Passing(entries => entries.Name == "Test")) ```
I faced into next problem. I'm replacing dbContext to InMemory by myself in TechStartup.cs in method ConfigureTestServices. Then in my startup class, I have a method which seeding some data...
Is there any plan to support .NET 5? At the moment an exception is thrown: "This version of MyTested.AspNetCore.Mvc only supports ASP.NET Core 3.1 applications but the 5.0.0 web framework...
When I start any test I get this exception: System.InvalidOperationException : Test application could not be initialized. You may need to create a custom mock for one of your registered...
Update the tutorial with all the latest features: - Pipeline testing - Global test data - Free licensing