Skip to content

Commit 2d89382

Browse files
committed
Updated README.md
1 parent 94a0acc commit 2d89382

File tree

2 files changed

+14
-16
lines changed

2 files changed

+14
-16
lines changed

.appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ branches:
44
- master
55
- development
66
- ^version-.*$
7-
image: Visual Studio 2019 Preview
7+
image: Visual Studio 2019
88
configuration: Release
99
clone_depth: 1
1010
before_build:

README.md

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424

2525
*Downloads:* [![NuGet Badge](https://buildstats.info/nuget/MyTested.AspNetCore.Mvc)](https://www.nuget.org/packages/MyTested.AspNetCore.Mvc/)
2626

27-
<img src="https://raw.githubusercontent.com/ivaylokenov/MyTested.AspNetCore.Mvc/version-2.1/tools/test-sample.gif" />
27+
<img src="https://raw.githubusercontent.com/ivaylokenov/MyTested.AspNetCore.Mvc/version-2.2/tools/test-sample.gif" />
2828

29-
**MyTested.AspNetCore.Mvc** has [more than 500 assertion methods](https://MyTestedASP.NET/Core/Mvc/Features) and is 100% covered by [more than 2000 unit tests](https://github.com/ivaylokenov/MyTested.AspNetCore.Mvc/tree/version-2.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.
29+
**MyTested.AspNetCore.Mvc** has [more than 500 assertion methods](https://MyTestedASP.NET/Core/Mvc/Features) and is 100% covered by [more than 2000 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.
3030

3131
**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:
3232
> "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."
@@ -95,15 +95,15 @@ To add **MyTested.AspNetCore.Mvc** to your solution, you must follow these simpl
9595
<Project Sdk="Microsoft.NET.Sdk.Web"> <!-- Changed project SDK -->
9696

9797
<PropertyGroup>
98-
<TargetFramework>netcoreapp2.1</TargetFramework>
98+
<TargetFramework>netcoreapp2.2</TargetFramework>
9999
</PropertyGroup>
100100

101101
<ItemGroup>
102102
<PackageReference Include="Microsoft.AspNetCore.App" /> <!-- Reference to the web framework -->
103-
<PackageReference Include="MyTested.AspNetCore.Mvc.Universe" Version="2.1.0" />
104-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.9.0" />
105-
<PackageReference Include="xunit" Version="2.4.0" /> <!-- Can be any testing framework -->
106-
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.0" />
103+
<PackageReference Include="MyTested.AspNetCore.Mvc.Universe" Version="2.2.0" />
104+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.2.0" />
105+
<PackageReference Include="xunit" Version="2.4.1" /> <!-- Can be any testing framework -->
106+
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" />
107107
</ItemGroup>
108108

109109
<ItemGroup>
@@ -159,17 +159,17 @@ namespace MyApp.Tests.Controllers
159159
}
160160
```
161161

162-
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.1/samples) for other types of test runners and `Startup` class configurations.
162+
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.
163163

164164
## Detailed Documentation
165165

166166
It is **strongly advised** to read the [tutorial](http://docs.mytestedasp.net/tutorial/intro.html) 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.
167167

168-
You can also check out the [provided samples](https://github.com/ivaylokenov/MyTested.AspNetCore.Mvc/tree/version-2.1/samples) for real-life ASP.NET Core MVC application testing.
168+
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.
169169

170170
## Package Installation
171171

172-
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.1.0 and all older versions available on the official NuGet feed.
172+
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.
173173

174174
```powershell
175175
Install-Package MyTested.AspNetCore.Mvc.Universe
@@ -214,7 +214,7 @@ using MyTested.AspNetCore.Mvc;
214214

215215
Here are some examples of how **powerful** the fluent testing API actually is!
216216

217-
**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.1/samples/Blog)!
217+
**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)!
218218

219219
### Controller Integration Tests
220220

@@ -281,7 +281,6 @@ MyController<MyMvcController>
281281
// and tests for added by the action temp data entry with а specific key,
282282
// and tests for redirect result to a specific action.
283283
MyController<MyMvcController>
284-
.Instance()
285284
.Calling(c => c.MyAction(new MyFormModel
286285
{
287286
Title = title,
@@ -409,7 +408,6 @@ MyController<MyMvcController>
409408

410409
// Tests for specific action attributes - HttpGet, AllowAnonymous, ValidateAntiForgeryToken, and ActionName.
411410
MyController<MyMvcController>
412-
.Instance()
413411
.Calling(c => c.MyAction(With.Empty<int>())) // Provides no value for the action parameter.
414412
.ShouldHave()
415413
.ActionAttributes(attributes => attributes
@@ -566,7 +564,7 @@ MyMvc
566564

567565
## Versioning
568566

569-
**MyTested.AspNetCore.Mvc** follows the ASP.NET Core MVC versions with which the testing framework is fully compatible. Specifically, the *major* and the *minor* versions will be incremented only when the MVC framework has a new official release. For example, version 2.1.\* of the testing framework is fully compatible with ASP.NET Core MVC 2.1.\*, version 1.1.\* is fully compatible with ASP.NET Core MVC 1.1.\*, version 1.0.15 is fully compatible with ASP.NET Core MVC 1.0.\*, and so on.
567+
**MyTested.AspNetCore.Mvc** follows the ASP.NET Core MVC versions with which the testing framework is fully compatible. Specifically, the *major* and the *minor* versions will be incremented only when the MVC framework has a new official release. For example, version 2.2.\* of the testing framework is fully compatible with ASP.NET Core MVC 2.2.\*, version 1.1.\* is fully compatible with ASP.NET Core MVC 1.1.\*, version 1.0.15 is fully compatible with ASP.NET Core MVC 1.0.\*, and so on.
570568

571569
The public interface of **MyTested.AspNetCore.Mvc** will not have any breaking changes when the version increases (unless entirely necessary).
572570

@@ -580,7 +578,7 @@ The source code of **MyTested.AspNetCore.Mvc** and its extensions (the full vers
580578

581579
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.**
582580

583-
**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](https://MyTestedASP.NET/Core/Mvc#free-usage) for more information.
581+
**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.
584582

585583
Commercial licensing with premium support options is also available at [https://MyTestedASP.NET/Core/Mvc#pricing](https://MyTestedASP.NET/Core/Mvc#pricing).
586584

0 commit comments

Comments
 (0)