MyTested.AspNetCore.Mvc
MyTested.AspNetCore.Mvc copied to clipboard
Fluent testing library for ASP.NET Core MVC.
Implement a plugin to use SQL Lite instead of the default in-memory database.
If you call `db.Update(entity)` the test throws an error, which should not happen. After the `Arrange` phase, the framework should clean the `DbContext` change tracker.
**Project files** In this project, I am using IMemoryCache, and pipeline tests are not passing: https://github.com/ivaylokenov/ASP.NET-Core-Project-Car-Renting-System **Expected behavior** Memory cache tests to pass successfully. **Environment:** - OS: Windows - ASP.NET...
For example - in the Universe package these should be referenced: - [ ] Authentication - [ ] Caching - [ ] EntityFrameworkCore - [ ] Session - [ ]...
The plugins folder should have all packages that are not included in the ASP.NET Core bundle by default - versioning, Razor runtime compilation, Entity Framework Core, etc. The Universe package...
### Problem overivew I have registered my db context with custom interface: ```c# services.AddDatabase(...) ``` The current `IWithDbContextBuilder` exposes `WithEntities
**Describe your issue** Following your tutorial, I am registering all the necessary services in StartUp and TestStartup as well. However, they are generic and I believe that there is some...
Here are some common property in projects: ``` xml 2015-2019 Ivaylo Kenov 3.1.1 Ivaylo Kenov netcoreapp3.1 $(NoWarn);CS1591 true true ../../tools/Key.snk true true aspnetcore;aspnetcoremvc;testing;unit;tests;fluent;testing;framework;asp;net;core;mvc;test;mymvc;mytested nuget-logo.png https://mytestedasp.net/ LICENSE true git https://github.com/ivaylokenov/MyTested.AspNetCore.Mvc false...
I found out a bug when AddRazorRuntimeCompilation() is used on my original Startup.cs class in the ASP.NET Core web project. I provide more information written as comment in a similar...
The tutorial should reflect the routing and the pipeline testing change - the difference between the execution of the filters.