Skip to content
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

Fix writing to trx when error has no message #2364

Merged
merged 1 commit into from
Mar 18, 2020

Conversation

nohwnd
Copy link
Member

@nohwnd nohwnd commented Mar 18, 2020

Fixes intialization of error info that would require errors to have error message and not just stack trace. This is triggered for example by Assert.Fail() in nUnit that provides a null error message. Removed the constructor that we don't need, and enabled initialization in both setters to avoid failing.

Fixes #2319

Fixes intialization of error info that would require errors to have error message and not just stack trace. This is triggered for example by Assert.Fail() in nUnit that provides a null error message. Removed the constructor that we don't need, and enabled initialization in both setters to avoid failing.

Fixes microsoft#2319
Copy link
Member

@pavelhorak pavelhorak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved

@nohwnd nohwnd merged commit 94501bb into microsoft:master Mar 18, 2020
@nohwnd nohwnd deleted the fix-nunit-results branch March 18, 2020 12:12
@nohwnd nohwnd restored the fix-nunit-results branch August 15, 2020 04:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NUnit tests failure not reported in test results file
2 participants