You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**MyTested.AspNetCore.Mvc** has [more than 500 assertion methods](https://MyTestedASP.NET/Core/Mvc/Features) and is 100% covered by [more than 2500 unit tests](https://github.com/ivaylokenov/MyTested.AspNetCore.Mvc/tree/version-2.2/test). It should work correctly. Almost all items in the [issues page](https://github.com/ivaylokenov/MyTested.AspNetCore.Mvc/issues) are expected future features and enhancements.
63
+
**MyTested.AspNetCore.Mvc** has [more than 500 assertion methods](https://MyTestedASP.NET/Core/Mvc/Features) and is 100% covered by [more than 2500 unit tests](https://github.com/ivaylokenov/MyTested.AspNetCore.Mvc/tree/version-3.1/test). It should work correctly. Almost all items in the [issues page](https://github.com/ivaylokenov/MyTested.AspNetCore.Mvc/issues) are expected future features and enhancements.
64
64
65
65
**MyTested.AspNetCore.Mvc** helps you speed up the testing process in your web development team! If you find that statement unbelievable, these are the words which some of the many happy **MyTested.AspNetCore.Mvc** users once said:
66
66
> "I’ve been using your packages for almost 3 years now and it has saved me countless hours in creating unit tests and wanted to thank you for making this. I cannot imagine how much code I would have had to write to create the 450+ and counting unit tests I have for my controllers."
@@ -79,7 +79,7 @@ Take a look around and...
79
79
80
80
👀 ...if you want to learn cool C# coding techniques, **subscribe** to my **[YouTube channel](https://www.youtube.com/channel/UCP5Ons7fK3yKhX6lhc9XcfQ)**, where I regularly post online video lessons!
81
81
82
-
✔ ...if you want to **support** the project, **[become a sponsor/backer](#sponsors--backers)** or go to [https://MyTestedASP.NET](https://MyTestedASP.NET), and consider **purchasing a premium [license](#license)**!
82
+
✔ ...if you want to **support** the project, **[become a sponsor/backer](#sponsors--backers)**!
83
83
84
84
#### Featured in
85
85
@@ -106,7 +106,7 @@ Take a look around and...
106
106
107
107
Funds donated via both platforms are used for development and marketing purposes. Funds donated via [OpenCollective](https://opencollective.com/mytestedaspnet) are managed with transparent expenses. Your name/logo will receive proper recognition and exposure by donating on either platform.
108
108
109
-
Additionally, funds donated via [Patreon](https://www.patreon.com/ivaylokenov)(see the stretch goals) give me the freedom to add more features to the free `Lite` edition of the library.
109
+
Additionally, funds donated via [Patreon](https://www.patreon.com/ivaylokenov) give me the freedom to continue the library development.
Basically, **MyTested.AspNetCore.Mvc** throws an unhandled exception with a friendly error message if the assertion does not pass and the test fails. The example uses [xUnit](http://xunit.github.io/), but you can use any other framework you like. See the [samples](https://github.com/ivaylokenov/MyTested.AspNetCore.Mvc/tree/version-2.2/samples) for other types of test runners and `Startup` class configurations.
225
+
Basically, **MyTested.AspNetCore.Mvc** throws an unhandled exception with a friendly error message if the assertion does not pass and the test fails. The example uses [xUnit](http://xunit.github.io/), but you can use any other framework you like. See the [samples](https://github.com/ivaylokenov/MyTested.AspNetCore.Mvc/tree/version-3.1/samples) for other types of test runners and `Startup` class configurations.
226
226
227
227
## Detailed Documentation
228
228
229
-
It is **strongly advised** to read the [tutorial](http://docs.mytestedasp.net/tutorial/intro.html) or watch [this online video lesson](https://www.youtube.com/watch?v=Tf2P-410Za4) to get familiar with **MyTested.AspNetCore.Mvc** in more details. Additionally, you may see the [testing guide](http://docs.mytestedasp.net/guide/intro.html) or the [API reference](http://docs.mytestedasp.net/api/index.html) for a full list of available features.
229
+
It is **strongly advised** to read the [tutorial](https://docs.mytestedasp.net/tutorial/intro.html) or watch [this online video lesson](https://www.youtube.com/watch?v=Tf2P-410Za4) to get familiar with **MyTested.AspNetCore.Mvc** in more details. Additionally, you may see the [testing guide](https://docs.mytestedasp.net/guide/intro.html) or the [API reference](https://docs.mytestedasp.net/api/index.html) for a full list of available features.
230
230
231
-
You can also check out the [provided samples](https://github.com/ivaylokenov/MyTested.AspNetCore.Mvc/tree/version-2.2/samples) for real-life ASP.NET Core MVC application testing.
231
+
You can also check out the [provided samples](https://github.com/ivaylokenov/MyTested.AspNetCore.Mvc/tree/version-3.1/samples) for real-life ASP.NET Core MVC application testing.
232
232
233
233
## Test Examples
234
234
235
235
Here are some examples of how **powerful** the fluent testing API actually is!
236
236
237
-
**MyTested.AspNetCore.Mvc** is so **awesome** that each test can be written in **one single line** like in this [application sample](https://github.com/ivaylokenov/MyTested.AspNetCore.Mvc/tree/version-2.2/samples/Blog)!
237
+
**MyTested.AspNetCore.Mvc** is so **awesome** that each test can be written in **one single line** like in this [application sample](https://github.com/ivaylokenov/MyTested.AspNetCore.Mvc/tree/version-3.1/samples/Blog)!
238
238
239
239
### Controller Integration Tests
240
240
@@ -635,13 +635,13 @@ MyMvc
635
635
636
636
## Package Installation
637
637
638
-
You can install this library using [NuGet](https://www.nuget.org/packages/MyTested.AspNetCore.Mvc.Universe) into your test project (or reference it directly in your `.csproj` file). Currently **MyTested.AspNetCore.Mvc** is fully compatible with ASP.NET Core MVC 2.2.0 and all older versions available on the official NuGet feed.
638
+
You can install this library using [NuGet](https://www.nuget.org/packages/MyTested.AspNetCore.Mvc.Universe) into your test project (or reference it directly in your `.csproj` file). Currently **MyTested.AspNetCore.Mvc** is fully compatible with ASP.NET Core MVC 3.1.0 and all older versions available on the official NuGet feed.
639
639
640
640
```powershell
641
641
Install-Package MyTested.AspNetCore.Mvc.Universe
642
642
```
643
643
644
-
This package will include all available assertion methods in your test project, including ones for authentication, database, session, caching and more. If you want only the MVC related features, install `MyTested.AspNetCore.Mvc`. If you want to use the completely **FREE** and **UNLIMITED** version of the library, install only `MyTested.AspNetCore.Mvc.Lite` and no other package. Additionally, if you prefer, you can be more specific by including only some of the packages:
644
+
This package will include all available assertion methods in your test project, including ones for authentication, database, session, caching and more. If you want only the MVC related features, install `MyTested.AspNetCore.Mvc`. Additionally, if you prefer, you can be more specific by including only some of the packages:
645
645
646
646
-`MyTested.AspNetCore.Mvc.Configuration` - Contains setup and assertion methods for configurations
647
647
-`MyTested.AspNetCore.Mvc.Controllers` - Contains setup and assertion methods for controllers
@@ -669,7 +669,6 @@ This package will include all available assertion methods in your test project,
669
669
-`MyTested.AspNetCore.Mvc.Session` - Contains setup and assertion methods for `ISession`
670
670
-`MyTested.AspNetCore.Mvc.Options` - Contains setup and assertion methods for `IOptions`
671
671
-`MyTested.AspNetCore.Mvc.Helpers` - Contains additional helper methods for easier assertions
672
-
-`MyTested.AspNetCore.Mvc.Lite` - Completely **FREE** and **UNLIMITED** version of the library. It should not be used in combination with any other package. Includes `Controllers`, `Controllers.Views` and `ViewComponents`.
673
672
674
673
After the downloading is complete, just add `using MyTested.AspNetCore.Mvc;` to your source code and you are ready to test in the most elegant and developer friendly way.
675
674
@@ -685,17 +684,9 @@ The public interface of **MyTested.AspNetCore.Mvc** will not have any breaking c
685
684
686
685
## License
687
686
688
-
Code by Ivaylo Kenov. Copyright 2015-2019 Ivaylo Kenov ([https://MyTestedASP.NET](https://MyTestedASP.NET))
687
+
Code by Ivaylo Kenov. Copyright 2015-2022 Ivaylo Kenov ([https://docs.mytestedasp.net/](https://docs.mytestedasp.net/))
689
688
690
-
**MyTested.AspNetCore.Mvc.Lite** (the **FREE** and **UNLIMITED** version of the testing library) is dual-licensed under either the Apache License, Version 2.0, or the Microsoft Public License (Ms-PL).
691
-
692
-
The source code of **MyTested.AspNetCore.Mvc** and its extensions (the full version of the testing library) is available under GNU Affero General Public License/FOSS License Exception.
693
-
694
-
Without a license code, the full version of the library allows up to 100 assertions (around 25 test cases) per test project. **MyTested.AspNetCore.Mvc versions before 3.0.0 do not have such restrictions and work without any limitations.**
695
-
696
-
**Full-featured license codes can be requested for free by small businesses (up to 5 developers), individuals, open-source projects, startups, and educational institutions**. See [https://MyTestedASP.NET/Core/Mvc#free-usage](https://MyTestedASP.NET/Core/Mvc#free-usage) for more information.
697
-
698
-
Commercial licensing with premium support options is also available at [https://MyTestedASP.NET/Core/Mvc#pricing](https://MyTestedASP.NET/Core/Mvc#pricing).
689
+
**MyTested.AspNetCore.Mvc** is dual-licensed under either the Apache License, Version 2.0, or the Microsoft Public License (Ms-PL).
699
690
700
691
See the [LICENSE](https://github.com/ivaylokenov/MyTested.AspNetCore.Mvc/blob/master/LICENSE) for detailed information.
0 commit comments