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

using 'Skip.If(true, comment)' wipes out any previous XUnitOutput.WriteLine #16

Open
brewmanz opened this issue Oct 20, 2019 · 1 comment

Comments

@brewmanz
Copy link

I dump out debugging info via XUnitOutput.WriteLine, and then I find a condition that requires the Skip feature, but the XUnit test 'Output' has lost debugging info, and only Skip comment shows.
It would be better if both the XUnitOutput.WriteLine as well as the Skip comment would show in the test 'Output' (and also the Skip comment be visible in the XUnit side window like say "Message: The collection was expected to contain a single element, but it was empty." rather than having to view 'Output').

@AArnott
Copy link
Owner

AArnott commented Apr 24, 2020

I agree, but at the moment I'm not sure that's something I can fix at this level. That might be an issue with xunit itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants