Discussion:
[testng-dev] Logback appender for TestNG Reporter
Scott Babcock
2017-01-17 21:53:07 UTC
Permalink
https://github.com/sbabcoc/logback-testng

I just published a Logback appender that enables users to direct the
Logback output from TestNG tests to the TestNG Reporter. This allows
authors of TestNG tests and libraries to use Logback for their
informational / diagnostic messages, and to have these messages included
with the result records captured by TestNG for each test.

I've already opened an enhancement request to add support for custom
Reporter implementations, but this should be relatively easy to implement.
--
You received this message because you are subscribed to the Google Groups "testng-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to testng-dev+***@googlegroups.com.
To post to this group, send email to testng-***@googlegroups.com.
Visit this group at https://groups.google.com/group/testng-dev.
For more options, visit https://groups.google.com/d/optout.
Julien Herr
2017-01-18 07:36:20 UTC
Permalink
Great! :)

It popped in my timeline yesterday and I've already added it to the
list: https://github.com/cbeust/testng/wiki/3rd-party-extensions#reporters
Post by Scott Babcock
https://github.com/sbabcoc/logback-testng
I just published a Logback appender that enables users to direct the
Logback output from TestNG tests to the TestNG Reporter. This allows
authors of TestNG tests and libraries to use Logback for their
informational / diagnostic messages, and to have these messages included
with the result records captured by TestNG for each test.
I've already opened an enhancement request to add support for custom
Reporter implementations, but this should be relatively easy to implement.
--
You received this message because you are subscribed to the Google Groups "testng-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to testng-dev+***@googlegroups.com.
To post to this group, send email to testng-***@googlegroups.com.
Visit this group at https://groups.google.com/group/testng-dev.
For more options, visit https://groups.google.com/d/optout.
Scott Babcock
2017-01-18 16:36:31 UTC
Permalink
Thanks for the speedy action! The category "Reporter" isn't quite right, though. This component is a Logback appender that sends its output to the standard TestNG Reporter. Perhaps the category name should be "Reporters/Loggers".
--
You received this message because you are subscribed to the Google Groups "testng-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to testng-dev+***@googlegroups.com.
To post to this group, send email to testng-***@googlegroups.com.
Visit this group at https://groups.google.com/group/testng-dev.
For more options, visit https://groups.google.com/d/optout.
Julien Herr
2017-01-18 16:43:17 UTC
Permalink
Why not, feel free to modify it: it's open and I'm not good at find names :)
Post by Scott Babcock
Thanks for the speedy action! The category "Reporter" isn't quite right,
though. This component is a Logback appender that sends its output to the
standard TestNG Reporter. Perhaps the category name should be
"Reporters/Loggers".
--
You received this message because you are subscribed to the Google Groups "testng-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to testng-dev+***@googlegroups.com.
To post to this group, send email to testng-***@googlegroups.com.
Visit this group at https://groups.google.com/group/testng-dev.
For more options, visit https://groups.google.com/d/optout.
Scott Babcock
2017-01-18 19:26:04 UTC
Permalink
I changed the category to "Reporters / Loggers". I also went through the
existing references in that category, adding missing topic areas and more
descriptive item names.
Post by Julien Herr
Why not, feel free to modify it: it's open and I'm not good at find names :)
Post by Scott Babcock
Thanks for the speedy action! The category "Reporter" isn't quite right,
though. This component is a Logback appender that sends its output to the
standard TestNG Reporter. Perhaps the category name should be
"Reporters/Loggers".
--
You received this message because you are subscribed to the Google Groups "testng-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to testng-dev+***@googlegroups.com.
To post to this group, send email to testng-***@googlegroups.com.
Visit this group at https://groups.google.com/group/testng-dev.
For more options, visit https://groups.google.com/d/optout.
Julien Herr
2017-01-19 07:48:12 UTC
Permalink
Thanks! :)
Post by Scott Babcock
I changed the category to "Reporters / Loggers". I also went through the
existing references in that category, adding missing topic areas and more
descriptive item names.
Why not, feel free to modify it: it's open and I'm not good at find names :)
Thanks for the speedy action! The category "Reporter" isn't quite right,
though. This component is a Logback appender that sends its output to the
standard TestNG Reporter. Perhaps the category name should be
"Reporters/Loggers".
--
You received this message because you are subscribed to the Google Groups
"testng-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/testng-dev.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "testng-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to testng-dev+***@googlegroups.com.
To post to this group, send email to testng-***@googlegroups.com.
Visit this group at https://groups.google.com/group/testng-dev.
For more options, visit https://groups.google.com/d/optout.
Loading...