-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding warning message for vsmdi file #323
Conversation
@@ -1011,6 +1011,21 @@ public void IsLegacyScenarioReturnsTrueWhenTestSettingsFileIsGiven() | |||
Assert.IsTrue(MSTestSettings.IsLegacyScenario(this.mockMessageLogger.Object)); | |||
} | |||
|
|||
[TestMethod] | |||
public void IsLegacyScenarioReturnsTrueWhenVsmdiFileIsGiven() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test is not required because we don't check for file extension and it is covered in IsLegacyScenarioReturnsTrueWhenTestSettingsFileIsGiven
.
Consider adding test to check warning message warning message.
@@ -285,7 +285,7 @@ | |||
<value>The test method {0}.{1} has multiple attributes derived from ExpectedExceptionBaseAttribute defined on it. Only one such attribute is allowed.</value> | |||
</data> | |||
<data name="LegacyScenariosNotSupportedWarning" xml:space="preserve"> | |||
<value>Warning : A testsettings file or a runsettings with a ForcedLegacyMode set to true is not supported with the MSTest V2 Adapter.</value> | |||
<value>Warning : A vsmdi file, testsettings file or a runsettings file with a ForcedLegacyMode set to true is not supported with the MSTest V2 Adapter.</value> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about change it to "A testsettings file, a runsettings file with a ForcedLegacyMode set to true or a vsmdi file is not supported with the MSTest V2 Adapter." ? As vsmdi is less popular. /cc @pvlakshm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, that sounds better.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
* Fixed versioning miss match of Testplatform.vsix
No description provided.