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
In addition to this license, MyTested.AspNetCore.Mvc will be offered under free or paid commercial licenses after the final release.
82
+
In addition to this license, MyTested.AspNetCore.Mvc is offered under free or paid commercial licenses. See https://mytestedasp.net/Core/Mvc#pricing for more details.
Copy file name to clipboardExpand all lines: README.md
+52-27Lines changed: 52 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
<h1><imgsrc="https://raw.githubusercontent.com/ivaylokenov/MyTested.AspNetCore.Mvc/master/tools/logo.png"align="left"alt="MyTested.AspNetCore.Mvc"width="100"> MyTested.AspNetCore.Mvc - Fluent testing<br /> framework for ASP.NET Core MVC</h1>
2
2
====================================
3
3
4
-
MyTested.AspNetCore.Mvc is a unit testing library (currently in preview version) providing easy fluent interface to test the [ASP.NET Core MVC](https://github.com/aspnet/Mvc) framework. It is testing framework agnostic, so you can combine it with a test runner of your choice (e.g. xUnit, NUnit, etc.).
4
+
MyTested.AspNetCore.Mvc is a unit testing library providing easy fluent interface to test the [ASP.NET Core MVC](https://github.com/aspnet/Mvc) framework. It is testing framework agnostic, so you can combine it with a test runner of your choice (e.g. xUnit, NUnit, etc.).
@@ -11,30 +11,33 @@ It is strongly advised to start with the [tutorial](http://docs.mytestedasp.net/
11
11
12
12
## Installation
13
13
14
-
You can install this library using NuGet into your test project (or reference it directly in your `project.json` file). Currently MyTested.AspNetCore.Mvc works with ASP.NET Core MVC 1.0.0.
14
+
You can install this library using NuGet into your test project (or reference it directly in your `project.json` file). Currently MyTested.AspNetCore.Mvc works with ASP.NET Core MVC 1.0.1.
15
15
16
16
Install-Package MyTested.AspNetCore.Mvc.Universe
17
17
18
-
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:
19
-
20
-
-`MyTested.AspNetCore.Mvc.Controllers` - contains setup and assertion methods for controllers
21
-
-`MyTested.AspNetCore.Mvc.Routing` - contains setup and assertion methods for routes
22
-
-`MyTested.AspNetCore.Mvc.Core` - contains setup and assertion methods for MVC core features
23
-
-`MyTested.AspNetCore.Mvc.TempData` - contains setup and assertion methods for `ITempDataDictionary`
24
-
-`MyTested.AspNetCore.Mvc.ViewData` - contains assertion methods for `ViewDataDictionary` and dynamic `ViewBag`
25
-
-`MyTested.AspNetCore.Mvc.ViewActionResults` - contains setup and assertion methods for view action results
26
-
-`MyTested.AspNetCore.Mvc.ViewComponents` - contains setup and assertion methods for view components
27
-
-`MyTested.AspNetCore.Mvc.ViewFeatures` - contains setup and assertion methods for MVC view features
28
-
-`MyTested.AspNetCore.Mvc.Http` - contains setup and assertion methods for HTTP context, request and response
29
-
-`MyTested.AspNetCore.Mvc.Authentication` - contains setup methods for `ClaimsPrincipal`
30
-
-`MyTested.AspNetCore.Mvc.ModelState` - contains setup and assertion methods for `ModelStateDictionary` validations
31
-
-`MyTested.AspNetCore.Mvc.DataAnnotations` - contains setup and assertion methods for data annotation validations
32
-
-`MyTested.AspNetCore.Mvc.EntityFrameworkCore` - contains setup and assertion methods for `DbContext`
33
-
-`MyTested.AspNetCore.Mvc.DependencyInjection` - contains setup methods for dependency injection services
34
-
-`MyTested.AspNetCore.Mvc.Caching` - contains setup and assertion methods for `IMemoryCache`
35
-
-`MyTested.AspNetCore.Mvc.Session` - contains setup and assertion methods for `ISession`
36
-
-`MyTested.AspNetCore.Mvc.Options` - contains setup and assertion methods for `IOptions`
37
-
18
+
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:
19
+
20
+
-`MyTested.AspNetCore.Mvc.Controllers` - Contains setup and assertion methods for controllers
21
+
-`MyTested.AspNetCore.Mvc.Models` - Contains setup and assertion methods for response and view models
22
+
-`MyTested.AspNetCore.Mvc.Routing` - Contains setup and assertion methods for routes
23
+
-`MyTested.AspNetCore.Mvc.Core` - Contains setup and assertion methods for MVC core features
24
+
-`MyTested.AspNetCore.Mvc.TempData` - Contains setup and assertion methods for `ITempDataDictionary`
25
+
-`MyTested.AspNetCore.Mvc.ViewData` - Contains assertion methods for `ViewDataDictionary` and dynamic `ViewBag`
26
+
-`MyTested.AspNetCore.Mvc.ViewActionResults` - Contains setup and assertion methods for view action results
27
+
-`MyTested.AspNetCore.Mvc.ViewComponents` - Contains setup and assertion methods for view components
28
+
-`MyTested.AspNetCore.Mvc.ViewFeatures` - Contains setup and assertion methods for MVC view features
29
+
-`MyTested.AspNetCore.Mvc.Http` - Contains setup and assertion methods for HTTP context, request and response
30
+
-`MyTested.AspNetCore.Mvc.Authentication` - Contains setup methods for `ClaimsPrincipal`
31
+
-`MyTested.AspNetCore.Mvc.ModelState` - Contains setup and assertion methods for `ModelStateDictionary` validations
32
+
-`MyTested.AspNetCore.Mvc.DataAnnotations` - Contains setup and assertion methods for data annotation validations
33
+
-`MyTested.AspNetCore.Mvc.EntityFrameworkCore` - Contains setup and assertion methods for `DbContext`
34
+
-`MyTested.AspNetCore.Mvc.DependencyInjection` - Contains setup methods for dependency injection services
35
+
-`MyTested.AspNetCore.Mvc.Caching` - Contains setup and assertion methods for `IMemoryCache`
36
+
-`MyTested.AspNetCore.Mvc.Session` - Contains setup and assertion methods for `ISession`
37
+
-`MyTested.AspNetCore.Mvc.Options` - Contains setup and assertion methods for `IOptions`
38
+
-`MyTested.AspNetCore.Mvc.Helpers` - Contains additional helper methods for easier assertions
39
+
-`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`, `ViewActionResults` and `ViewComponents`.
40
+
38
41
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.
Code by Ivaylo Kenov. Copyright 2015 Ivaylo Kenov ([http://mytestedasp.net](http://mytestedasp.net))
243
+
Code by Ivaylo Kenov. Copyright 2015-2016 Ivaylo Kenov ([http://mytestedasp.net](http://mytestedasp.net))
223
244
224
-
**Currently MyTested.AspNetCore.Mvc is in preview and it is not advised to use it in production environments. The testing framework is fully tested and working correctly but the fluent APIs may change in the final production-ready build.**
245
+
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).
225
246
226
-
MyTested.AspNetCore.Mvc source code is available under GNU Affero General Public License/FOSS License Exception. The free version of the library allows up to 500 assertions (around 100 test cases) per test project. Additionally, **full-featured licenses can be requested for free by individuals, open-source projects, startups and educational institutions**. Commercial licensing with private support will also be available with the final release.
247
+
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.
227
248
228
-
See the [LICENSE](https://github.com/ivaylokenov/MyTested.AspNetCore.Mvc/blob/master/LICENSE) for detailed information.
249
+
Without a license code the full version of the library allows up to 100 assertions (around 25 test cases) per test project.
250
+
251
+
**Full-featured license codes can be requested for free by individuals, open-source projects, startups and educational institutions**. See [https://mytestedasp.net/Core/Mvc#free-usage-modal](https://mytestedasp.net/Core/Mvc#free-usage-modal) for more information.
229
252
230
-
If you want an early-bird license key for free, send a contact message through [http://mytestedasp.net](http://mytestedasp.net).
253
+
Commercial licensing with private support is also available at [https://mytestedasp.net/Core/Mvc#pricing](https://mytestedasp.net/Core/Mvc#pricing).
254
+
255
+
See the [LICENSE](https://github.com/ivaylokenov/MyTested.AspNetCore.Mvc/blob/master/LICENSE) for detailed information.
# Visual Studio test runner returns strange results from time to time
2
+
3
+
Most probably Visual Studio has a compilation version mismatch and it runs tests from an old DLL library. Clean/Rebuild the solution/project and run the tests again to fix the problem.
0 commit comments