microsoft / testfx

MSTest framework and adapter
MIT License
716 stars 253 forks source link

Warning when vsmdi files are passed in. #61

Closed AbhitejJohn closed 6 years ago

AbhitejJohn commented 7 years ago

Description

The adapter currently throws the following warning when a vsmdi file is passed to it: "A testsettings file or a runsettings with a ForcedLegacyMode set to true is not supported with the MSTest V2 Adapter." This does not indicate that this is an unsupported scenario.

Steps to reproduce

1. unzip the mstestv2 project from the attachments.

  1. Discover tests.
  2. Ensure that the test settings via the Test-> TestSettings is pointing to a vsmdi file.
  3. Discover Tests

Expected behavior

A warning that indicates this is an unsupported behavior.

Actual behavior

The following warning shows up: "A testsettings file or a runsettings with a ForcedLegacyMode set to true is not supported with the MSTest V2 Adapter."

Repro.zip

pvlakshm commented 7 years ago

This should be fixed.

pvlakshm commented 6 years ago

Validate and close, please.