-
Notifications
You must be signed in to change notification settings - Fork 728
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
Issue #4686: Add ProgressTraceListener #4709
Conversation
I guess I need some support here. The Windows and MacOS tests indicate "1 tests failed" but searching the log for neither "fail" nor "Trace" nor "Progress" sheds any light into the failure. On Linux, one of the newly added tests indeed fails:
But the question is, why does this behave differently on Linux? |
Review consideration regarding potential location of the listener:
|
@OsirisTerje thanks for re-triggering the workflows. I have found the culprit, of course the |
… a configuration without TRACE defined
… to the resulting output
@stevenaw @manfred-brands Is this ok with you guys? It's a new namespace but it may be fitting. I am good with this. |
src/NUnitFramework/framework/Diagnostics/ProgressTraceListener.cs
Outdated
Show resolved
Hide resolved
@OsirisTerje The new namespace is a good point. This appears to be the first time we're explicitly adding a new writer with external intent. Current writers are all in the I don't have strong opinions on it either way so I think the namespacing in this PR is fine until we decide on long term plans for some of the other Internal-namespaced items. |
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.
A few small changes suggested to the XML documentation to better reflect what is needed and what is actually used in the ProgressTraceListenerTests
src/NUnitFramework/framework/Diagnostics/ProgressTraceListener.cs
Outdated
Show resolved
Hide resolved
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.
Thanks @maettu-this, looks good to me now.
src/NUnitFramework/framework/Diagnostics/ProgressTraceListener.cs
Outdated
Show resolved
Hide resolved
@maettu-this The builds failed, seems like some nuget stuff. And, you also have some warnings. Can you fix and push again? |
@OsirisTerje The nuget warnings are odd. I've tried to rerun the job. @maettu-this the other failures may just be related to unused using after having removed the attribute. Thank you for removing that! Seems like maybe just a bit more related cleanup |
Thanks @manfred-brands |
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 build is now passing!
Thank you for the contribution @maettu-this this looks good to me now too
As proposed in #4686, resolves #4686
Also fixes #4134.
Documentation update with separate docs PR.