Skip to content

Commit 0558949

Browse files
authored
Merge pull request #238 from ivaylokenov/development
Version 1.0.0
2 parents f1670a1 + 593bfed commit 0558949

File tree

640 files changed

+97635
-12502
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

640 files changed

+97635
-12502
lines changed

LICENSE

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
MyTested.AspNetCore.Mvc
2-
Code by Ivaylo Kenov. Copyright (c) 2015 Ivaylo Kenov.
2+
Code by Ivaylo Kenov. Copyright (c) 2015-2016 Ivaylo Kenov.
33
===============================================================================
44

55
This program is free software: you can redistribute it and/or modify it
@@ -12,6 +12,20 @@ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
1212
FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
1313

1414

15+
Lite Package License Exception
16+
===============================================================================
17+
18+
This Exception applies to applications built with only MyTested.AspNetCore.Mvc.Lite
19+
and no other MyTested.AspNetCore.Mvc extensions. MyTested.AspNetCore.Mvc.Lite is intended
20+
to be used in both open-source and commercial environments. To allow its use
21+
in as many situations as possible, MyTested.AspNetCore.Mvc.Lite is dual-licensed.
22+
You may choose to use MyTested.AspNetCore.Mvc.Lite under either the Apache License, Version 2.0,
23+
or the Microsoft Public License (Ms-PL). These licenses are essentially identical,
24+
but you are encouraged to evaluate both to determine which best fits your intended use.
25+
See https://github.com/ivaylokenov/MyTested.AspNetCore.Mvc/blob/master/src/MyTested.AspNetCore.Mvc.Lite/LICENSE
26+
for more details.
27+
28+
1529
FOSS License Exception
1630
===============================================================================
1731

@@ -65,4 +79,4 @@ Zlib/libpng License -
6579

6680
Commercial License
6781
===========================================================================
68-
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.

MyTested.AspNetCore.Mvc.sln

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,24 @@ Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "NoStartup.Components", "sam
132132
EndProject
133133
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "NoStartup.Test", "samples\NoStartup\NoStartup.Test\NoStartup.Test.xproj", "{D28E4019-DC88-452D-8AEF-46799AB32B45}"
134134
EndProject
135+
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "MyTested.AspNetCore.Mvc.Models", "src\MyTested.AspNetCore.Mvc.Models\MyTested.AspNetCore.Mvc.Models.xproj", "{A3C86420-DB2E-4103-A4B9-275B6F08C809}"
136+
EndProject
137+
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "MyTested.AspNetCore.Mvc.Helpers", "src\MyTested.AspNetCore.Mvc.Helpers\MyTested.AspNetCore.Mvc.Helpers.xproj", "{776BC96D-F536-4788-808E-F0F25C26FB69}"
138+
EndProject
139+
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "MyTested.AspNetCore.Mvc.Models.Test", "test\MyTested.AspNetCore.Mvc.Models.Test\MyTested.AspNetCore.Mvc.Models.Test.xproj", "{1CF0545A-8800-4ED1-8A89-A95FE557EE57}"
140+
EndProject
141+
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "MyTested.AspNetCore.Mvc.Helpers.Test", "test\MyTested.AspNetCore.Mvc.Helpers.Test\MyTested.AspNetCore.Mvc.Helpers.Test.xproj", "{FE5913FD-CD0A-4ED9-9C43-F2892C72ED6E}"
142+
EndProject
143+
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "MyTested.AspNetCore.Mvc.Lite", "src\MyTested.AspNetCore.Mvc.Lite\MyTested.AspNetCore.Mvc.Lite.xproj", "{092CEA1D-84CC-43D8-9978-15F359163084}"
144+
EndProject
145+
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "MyTested.AspNetCore.Mvc.Lite.Test", "test\MyTested.AspNetCore.Mvc.Lite.Test\MyTested.AspNetCore.Mvc.Lite.Test.xproj", "{E65581E8-9E3E-4F5B-ACE6-519456EE2407}"
146+
EndProject
147+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Lite", "Lite", "{903CDAD0-820B-4AD5-9529-97E7FC3B2ECA}"
148+
EndProject
149+
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Lite.Web", "samples\Lite\Lite.Web\Lite.Web.xproj", "{4D74DC49-D297-4CE6-B8E5-C93006816C0F}"
150+
EndProject
151+
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Lite.Test", "samples\Lite\Lite.Test\Lite.Test.xproj", "{DD268C6F-32E2-46D8-A01C-9DAFDDCDEA4E}"
152+
EndProject
135153
Global
136154
GlobalSection(SolutionConfigurationPlatforms) = preSolution
137155
Debug|Any CPU = Debug|Any CPU
@@ -362,6 +380,38 @@ Global
362380
{D28E4019-DC88-452D-8AEF-46799AB32B45}.Debug|Any CPU.Build.0 = Debug|Any CPU
363381
{D28E4019-DC88-452D-8AEF-46799AB32B45}.Release|Any CPU.ActiveCfg = Release|Any CPU
364382
{D28E4019-DC88-452D-8AEF-46799AB32B45}.Release|Any CPU.Build.0 = Release|Any CPU
383+
{A3C86420-DB2E-4103-A4B9-275B6F08C809}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
384+
{A3C86420-DB2E-4103-A4B9-275B6F08C809}.Debug|Any CPU.Build.0 = Debug|Any CPU
385+
{A3C86420-DB2E-4103-A4B9-275B6F08C809}.Release|Any CPU.ActiveCfg = Release|Any CPU
386+
{A3C86420-DB2E-4103-A4B9-275B6F08C809}.Release|Any CPU.Build.0 = Release|Any CPU
387+
{776BC96D-F536-4788-808E-F0F25C26FB69}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
388+
{776BC96D-F536-4788-808E-F0F25C26FB69}.Debug|Any CPU.Build.0 = Debug|Any CPU
389+
{776BC96D-F536-4788-808E-F0F25C26FB69}.Release|Any CPU.ActiveCfg = Release|Any CPU
390+
{776BC96D-F536-4788-808E-F0F25C26FB69}.Release|Any CPU.Build.0 = Release|Any CPU
391+
{1CF0545A-8800-4ED1-8A89-A95FE557EE57}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
392+
{1CF0545A-8800-4ED1-8A89-A95FE557EE57}.Debug|Any CPU.Build.0 = Debug|Any CPU
393+
{1CF0545A-8800-4ED1-8A89-A95FE557EE57}.Release|Any CPU.ActiveCfg = Release|Any CPU
394+
{1CF0545A-8800-4ED1-8A89-A95FE557EE57}.Release|Any CPU.Build.0 = Release|Any CPU
395+
{FE5913FD-CD0A-4ED9-9C43-F2892C72ED6E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
396+
{FE5913FD-CD0A-4ED9-9C43-F2892C72ED6E}.Debug|Any CPU.Build.0 = Debug|Any CPU
397+
{FE5913FD-CD0A-4ED9-9C43-F2892C72ED6E}.Release|Any CPU.ActiveCfg = Release|Any CPU
398+
{FE5913FD-CD0A-4ED9-9C43-F2892C72ED6E}.Release|Any CPU.Build.0 = Release|Any CPU
399+
{092CEA1D-84CC-43D8-9978-15F359163084}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
400+
{092CEA1D-84CC-43D8-9978-15F359163084}.Debug|Any CPU.Build.0 = Debug|Any CPU
401+
{092CEA1D-84CC-43D8-9978-15F359163084}.Release|Any CPU.ActiveCfg = Release|Any CPU
402+
{092CEA1D-84CC-43D8-9978-15F359163084}.Release|Any CPU.Build.0 = Release|Any CPU
403+
{E65581E8-9E3E-4F5B-ACE6-519456EE2407}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
404+
{E65581E8-9E3E-4F5B-ACE6-519456EE2407}.Debug|Any CPU.Build.0 = Debug|Any CPU
405+
{E65581E8-9E3E-4F5B-ACE6-519456EE2407}.Release|Any CPU.ActiveCfg = Release|Any CPU
406+
{E65581E8-9E3E-4F5B-ACE6-519456EE2407}.Release|Any CPU.Build.0 = Release|Any CPU
407+
{4D74DC49-D297-4CE6-B8E5-C93006816C0F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
408+
{4D74DC49-D297-4CE6-B8E5-C93006816C0F}.Debug|Any CPU.Build.0 = Debug|Any CPU
409+
{4D74DC49-D297-4CE6-B8E5-C93006816C0F}.Release|Any CPU.ActiveCfg = Release|Any CPU
410+
{4D74DC49-D297-4CE6-B8E5-C93006816C0F}.Release|Any CPU.Build.0 = Release|Any CPU
411+
{DD268C6F-32E2-46D8-A01C-9DAFDDCDEA4E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
412+
{DD268C6F-32E2-46D8-A01C-9DAFDDCDEA4E}.Debug|Any CPU.Build.0 = Debug|Any CPU
413+
{DD268C6F-32E2-46D8-A01C-9DAFDDCDEA4E}.Release|Any CPU.ActiveCfg = Release|Any CPU
414+
{DD268C6F-32E2-46D8-A01C-9DAFDDCDEA4E}.Release|Any CPU.Build.0 = Release|Any CPU
365415
EndGlobalSection
366416
GlobalSection(SolutionProperties) = preSolution
367417
HideSolutionNode = FALSE
@@ -426,5 +476,14 @@ Global
426476
{7F5BA229-DC61-416A-B03A-0DE756C2459F} = {45B7B5FC-DF8C-498E-956E-28D56946C7DA}
427477
{A8975050-1824-46FB-A3EF-1C1B5CC5EF88} = {45B7B5FC-DF8C-498E-956E-28D56946C7DA}
428478
{D28E4019-DC88-452D-8AEF-46799AB32B45} = {45B7B5FC-DF8C-498E-956E-28D56946C7DA}
479+
{A3C86420-DB2E-4103-A4B9-275B6F08C809} = {09353A03-2B0C-496B-8EB1-2CB6A22D758B}
480+
{776BC96D-F536-4788-808E-F0F25C26FB69} = {09353A03-2B0C-496B-8EB1-2CB6A22D758B}
481+
{1CF0545A-8800-4ED1-8A89-A95FE557EE57} = {D140FA14-A6C2-4279-8A41-35BC55279DA8}
482+
{FE5913FD-CD0A-4ED9-9C43-F2892C72ED6E} = {D140FA14-A6C2-4279-8A41-35BC55279DA8}
483+
{092CEA1D-84CC-43D8-9978-15F359163084} = {09353A03-2B0C-496B-8EB1-2CB6A22D758B}
484+
{E65581E8-9E3E-4F5B-ACE6-519456EE2407} = {D140FA14-A6C2-4279-8A41-35BC55279DA8}
485+
{903CDAD0-820B-4AD5-9529-97E7FC3B2ECA} = {88CC5098-E49F-4AA4-B964-1C2BF4ECA3C3}
486+
{4D74DC49-D297-4CE6-B8E5-C93006816C0F} = {903CDAD0-820B-4AD5-9529-97E7FC3B2ECA}
487+
{DD268C6F-32E2-46D8-A01C-9DAFDDCDEA4E} = {903CDAD0-820B-4AD5-9529-97E7FC3B2ECA}
429488
EndGlobalSection
430489
EndGlobal

README.md

Lines changed: 52 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<h1><img src="https://raw.githubusercontent.com/ivaylokenov/MyTested.AspNetCore.Mvc/master/tools/logo.png" align="left" alt="MyTested.AspNetCore.Mvc" width="100">&nbsp; MyTested.AspNetCore.Mvc - Fluent testing<br />&nbsp; framework for ASP.NET Core MVC</h1>
22
====================================
33

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.).
55

66
[![Build status](https://ci.appveyor.com/api/projects/status/3xlag3a7f87bg4on?svg=true)](https://ci.appveyor.com/project/ivaylokenov/mytested-aspnetcore-mvc) [![NuGet Version](http://img.shields.io/nuget/v/MyTested.AspNetCore.Mvc.svg?style=flat)](https://www.nuget.org/packages/MyTested.AspNetCore.Mvc/)
77

@@ -11,30 +11,33 @@ It is strongly advised to start with the [tutorial](http://docs.mytestedasp.net/
1111

1212
## Installation
1313

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.
1515

1616
Install-Package MyTested.AspNetCore.Mvc.Universe
1717

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+
3841
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.
3942

4043
using MyTested.AspNetCore.Mvc;
@@ -215,19 +218,41 @@ MyMvc
215218
.OfType<NullReferenceException>()
216219
.AndAlso()
217220
.WithMessage().ThatEquals("Test exception message");
221+
222+
// all applicable methods are available
223+
// on view component testing too
224+
MyMvc
225+
.ViewComponent<MvcComponent>()
226+
.WithSession(session => session
227+
.WithEntry("Session", "SessionValue"))
228+
.WithDbContext(db => db.WithEntities(entities => entities
229+
.AddRange(SampleDataProvider.GetModels())))
230+
.InvokedWith(c => c.InvokeAsync(1))
231+
.ShouldHave()
232+
.ViewBag(viewBag => viewBag
233+
.ContainingEntry("TotalItems", 10)
234+
.ContainingEntry("EntryName", "ViewBagName"))
235+
.AndAlso()
236+
.ShouldReturn()
237+
.View()
238+
.WithModelOfType<ResponseModel>();
218239
```
219240

220241
## License
221242

222-
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))
223244

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).
225246

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.
227248

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.
229252

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.
231256

232257
## Any questions, comments or additions?
233258

docs/_docfx/api/.manifest

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/_docfx/docfx.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
}
1616
],
1717
"dest": "api",
18-
"filter": "filterConfig.yml"
18+
"filter": "filterConfig.yml"
1919
}
2020
],
2121
"build": {

docs/_docfx/troubleshoot/intro.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ Here you will find [My Tested ASP.NET Core MVC](https://mytestedasp.net/Core/Mvc
44

55
<strong class="article-contents">Table of contents</strong>
66

7-
- [When I run a test, I receive a type initializer exception without any descriptive message](/troubleshoot/typeinitexception.html)
7+
- [When I run a test, I receive a type initializer exception without any descriptive message](/troubleshoot/typeinitexception.html)
8+
- [Visual Studio test runner returns strange results from time to time](/troubleshoot/randomtestresults.html)
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# 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.

docs/_docfx/troubleshoot/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@
22
- name: Introduction
33
href: intro.md
44
- name: Type Initializer Exception
5+
href: typeinitexception.md
6+
- name: Visual Studio Random Results
57
href: typeinitexception.md

0 commit comments

Comments
 (0)