-
Notifications
You must be signed in to change notification settings - Fork 40
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
[FEATURE]: Better logging support for xUnit #227
Comments
The solution to this is the following:
Given the recent architecture changes, where should I place this? At first I considered placing this under |
@thePantz, this is good stuff. You're absolutely right about the dependency issue. I think I agree with your assessment that we'd want a separate project and package for xUnit to support this. My questions for you:
I'd love to collaborate with you on this if you're up for the challenge! |
Yes! I would be happy to contribute! I figure it's a general enough use case that will be useful to others. Although, I noticed #20 the other day and was wondering if this is still valuable or if it will soon be obsolete |
#20 is still valid but not planned at the moment. I'd say move forward with this xUnit logger for now. We can change things in the future. |
@thePantz feel free to fork the repository, get working, and send a pull request! |
(I'm here to answer questions and offer help along the way if you need it, too!) |
This work was completed as part of #248 ! |
Description
XUnit v2 does not support the use of
Console
,Debug
,Trace
This means that Boa.Constrictors built in
ConsoleLogger
will not work for xUnit.I suggest we implement a new logger that will work with xUnits logging interface(s) as described here: https://xunit.net/docs/capturing-output
Alternatives
Switching to NUnit/MsTest
Anything else?
Should be pretty straight forward to implement support for
ITestOutputHelper
. It functions similarly toConsole
but would require an instance provided by xUnit.There may be some limitations with setting up Actors in Class Fixtures since they won't have access to
ITestOutputHelper
from that contextCommitments
The text was updated successfully, but these errors were encountered: