-
Notifications
You must be signed in to change notification settings - Fork 325
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
Trx logger class name fix - NUnit data driven tests #1677
Conversation
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.
Assuming you have written all possible tests for this
} | ||
} | ||
catch (ArgumentException) | ||
{ |
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.
Add logging here.
} | ||
|
||
[TestMethod] | ||
public void ToTestElementShouldContainExpectedTestMethodPropertiesIfFqnEndsWithTestName() |
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.
DRY; use datarow here.
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.
removed dry
Description
Example:
For above example, trx file has
className
asUnitTestProject1.UnitTest1.TestMethod1(2, 3, 4.
.Ideally className should be
UnitTestProject1.UnitTest1
Related issue
microsoft/azure-pipelines-tasks#7620