-
Notifications
You must be signed in to change notification settings - Fork 487
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 test case for aggregate exception #147
Conversation
Merging changes back to master.
Looking now. Thanks! |
After pulling in your changes and the changes to TestAdapter by @drub0y , my test required no changes. Let me know if you notice anything off! |
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 is slick. I've never see the DataRow attribute used before.
@@ -154,5 +156,26 @@ await adapter | |||
.AssertReply("three") | |||
.StartTest(); | |||
} | |||
|
|||
[TestMethod] |
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.
Isn't this supposed to be DataTestMethod?
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.
The docs are not much help, unfortunatly:
https://docs.microsoft.com/en-us/dotnet/api/microsoft.visualstudio.testtools.unittesting.datatestmethodattribute?view=mstest-net-1.2.0
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.
Never mind. I tested the code. It worked fine as-is.
@@ -154,5 +156,26 @@ await adapter | |||
.AssertReply("three") | |||
.StartTest(); | |||
} | |||
|
|||
[TestMethod] |
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.
Never mind. I tested the code. It worked fine as-is.
Thanks Ryan! I think this is a great addition to the tests. Already tonight, with the Exception improvements to the Test Adapter, I've caught bugs that previously were slipping through. Having the exceptions flow through correctly has been a huge help! |
@cleemullins Sweet. I'll try and monitor the issues if you post them. |
This PR is a remake of #142 to pull to master instead of the PassExceptionsOnTaskFaults branch.