diff --git a/CHANGELOG.md b/CHANGELOG.md index 4225bb2..e6ada2a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.5.3 () +## 0.5.3 (2018-09-11) * [#138](https://github.com/formulahendry/vscode-dotnet-test-explorer/pull/138): Better support for TestFixture names * [#135](https://github.com/formulahendry/vscode-dotnet-test-explorer/pull/135): Supporting special characters in test cases on windows diff --git a/README.md b/README.md index 128c840..6a14760 100644 --- a/README.md +++ b/README.md @@ -11,10 +11,10 @@ * [.NET Core](https://www.microsoft.com/net/core) is installed * NUnit and MsTest requires a dotnet [sdk](https://www.microsoft.com/net/download) version of >= 2.1.2 and running dotnet tooling in english (see [#77](https://github.com/formulahendry/vscode-dotnet-test-explorer/issues/77) for details). -## New in 0.5.2 +## New in 0.5.3 -* If a test run results in tests that the tree did not know about from test discovery (eg, you added a new test) it will now be added to the tree without having to refresh. When you run **all** tests any tests that are part of the tree but not in the latest test result are removed. -* Additional test paramaters used to gain code coverage results where included as tests in the tree. They are not anymore. +* Better support for TestFixture attribute in nunit that leads to it actually showing up in the tree +* If you are on windows and using special chars in your test cases your life will now be slightly less miserable. ## Usage diff --git a/package.json b/package.json index 2ad573c..c3d2f8b 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "dotnet-test-explorer", "displayName": ".NET Core Test Explorer", "description": "Test Explorer for .NET Core (MSTest, xUnit, NUnit)", - "version": "0.5.2", + "version": "0.5.3", "publisher": "formulahendry", "license": "MIT", "icon": "testexplorer_dark.png", diff --git a/readme053.md b/readme053.md deleted file mode 100644 index 6a14760..0000000 --- a/readme053.md +++ /dev/null @@ -1,102 +0,0 @@ -[![Gitter chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/vscode-dotnet-test-explorer/Lobby) - -# .NET Core Test Explorer - -## Features - -* Test Explorer for .NET Core - -## Prerequisites - -* [.NET Core](https://www.microsoft.com/net/core) is installed -* NUnit and MsTest requires a dotnet [sdk](https://www.microsoft.com/net/download) version of >= 2.1.2 and running dotnet tooling in english (see [#77](https://github.com/formulahendry/vscode-dotnet-test-explorer/issues/77) for details). - -## New in 0.5.3 - -* Better support for TestFixture attribute in nunit that leads to it actually showing up in the tree -* If you are on windows and using special chars in your test cases your life will now be slightly less miserable. - -## Usage - -Open a .NET Core test project, or set `dotnet-test-explorer.testProjectPath` to the folder path of .NET Core test project. Then, you will see all the tests in Test Explorer. - -![test-explorer](images/test-explorer.gif) - -#### Configuring multiple test projects - -Setting dotnet-test-explorer.testProjectPath accepts a glob pattern that should point to your test directories. You can also point to files and it will figure out the corresponding path. - -Given the folder structure -* root - * testProjectOne - * testproject1.Tests.csproj - * testProjectTwo - * testproject2.Tests.csproj - -the glob pattern "+(testProjectOne|testProjectTwo)" or "**/*Tests.csproj" should add both of the test projects. - -Due to some performance concerns discovery and test running over multiple directories are run one at a time in a synchronous fashion. When running specific tests (eg, not running all tests) the extension should be smart enought to figure out which test directory should be run and only run tests for that directory. - -#### Logging - -Text from the dotnet test output as well as debug info is written to the Output/Test explorer terminal window. To view the log you can access it simply by clicking the view log icon. - -![showlog](images/showlog.png) - - -## Keyboard shortcuts - -* Run all tests, default Alt+R Alt+A - -* Rerun last command, default Alt+R Alt+R - -* Run test(s) in context, default Alt+R Alt+C - -## Settings - -* `dotnet-test-explorer.testProjectPath`: Glob pattern that points to path of .NET Core test project(s). (Default is **""**) -* `dotnet-test-explorer.useTreeView`: If false, will list all tests as the full namespace. When set to true a tree will be created based on the namespaces of the tests. (Default is **true**) -* `dotnet-test-explorer.showCodeLens`: Determines whether to show the CodeLens test status or not. (Default is **true**) -* `dotnet-test-explorer.codeLensFailed`: The text to display in the code lens when a test has failed. (Default is **""**) -* `dotnet-test-explorer.codeLensPassed`: The text to display in the code lens when a test has passed. (Default is **""**) -* `dotnet-test-explorer.codeLensSkipped`: The text to display in the code lens when a test has been skipped. (Default is **""**) -* `dotnet-test-explorer.pathForResultFile`: The path to (temporarily) store test result files in. (Default is os temp dir) -* `dotnet-test-explorer.autoExpandTree`: If true, the tree will be in an expanded state by default. (Default is **false**) -* `dotnet-test-explorer.addProblems`: If true, failed tests will add to problems view. (Default is **true**) -* `dotnet-test-explorer.autoWatch`: If true, starts dotnet watch test after test discovery is completed. (Default is **false**) -* `dotnet-test-explorer.testArguments`: Additional arguments that are added to the dotnet test command -* `dotnet-test-explorer.leftClickAction`: What happens when a test in the list is left clicked. (Default is **gotoTest**) - -## Known issues - -##### Test result is not shown in codelens / tree -Try and change the setting dotnet-test-explorer.pathForResultFile to point to a folder you have access right too. Code lense functionality also requires the [C# extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode.csharp)) - -##### No tree view or color coded explorer for nunit / mstest -This requieres you to run dotnet sdk version 2.1.2 or higher and running dotnet tooling in english (see [#77](https://github.com/formulahendry/vscode-dotnet-test-explorer/issues/77) for details). - -##### DisplayName attribute not working for xunit -See [#56](https://github.com/formulahendry/vscode-dotnet-test-explorer/issues/56) - -## Telemetry data - -By default, anonymous telemetry data collection is turned on to understand user behavior to improve this extension. To disable it, update the settings.json as below: -```json -{ - "dotnet-test-explorer.enableTelemetry": false -} -``` - -## Change Log - -See Change Log [here](CHANGELOG.md) - -## Issues - -If you find any bug or have any suggestion/feature request, please submit the [issues](https://github.com/formulahendry/vscode-dotnet-test-explorer/issues) to the GitHub Repo. - -## ❤️ Contributors - -Thanks to all the [contributors](https://github.com/formulahendry/vscode-dotnet-test-explorer/graphs/contributors)! - -Special thanks to Stefan Forsberg ([@stefanforsberg](https://github.com/stefanforsberg)) for maintaining the project and implementing so many cool features! Also thanks to Janaka Abeywardhana ([@janaka](https://github.com/janaka)) for maintaining the project!