Derivitec / vscode-dotnet-adapter

MIT License
7 stars 8 forks source link

Test grouping doesn't work #36

Closed vchirikov closed 4 years ago

vchirikov commented 4 years ago

Hi, thank you for your work, but it seems that the test grouping doesn't work properly.

My config:

  "dotnetCoreExplorer.searchpatterns": {
    "Unit tests": "artifacts/tests/*.UnitTests.dll",
    "Integration tests": "artifacts/tests/*.IntegrationTests.dll",
    "Other tests": [
      "artifacts/tests/*.Tests.dll",
      "artifacts/tests/*.Test.dll",
    ]
  },

Explorer:

image

Log:

Loaded 2 test files
Added 27 tests to the test suite
    0 new test files
    2 cached test files
    0 test files updated since last cache

[2020-08-27T12:23:03.014Z] C# extension is not installed. Install and enable to apply additional CodeLens information to tests.
[2020-08-27T12:23:03.015Z] Searching for tests
[2020-08-27T12:23:03.065Z] Loading tests from 2 files
[2020-08-27T12:23:03.078Z] Loading tests complete 27 tests from 2 files; 2 cached

p.s. C# extension is installed.

Related: https://github.com/Derivitec/vscode-dotnet-adapter/pull/31

vchirikov commented 4 years ago

Also each reload add duplicate entries