Logback appender for TestNG Reporter

132 views
Skip to first unread message

Scott Babcock

unread,
Jan 17, 2017, 4:53:07 PM1/17/17
to testng-dev
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.

Julien Herr

unread,
Jan 18, 2017, 2:36:20 AM1/18/17
to testng-dev
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

Scott Babcock

unread,
Jan 18, 2017, 11:36:31 AM1/18/17
to testng-dev
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".

Julien Herr

unread,
Jan 18, 2017, 11:43:17 AM1/18/17
to testng-dev
Why not, feel free to modify it: it's open and I'm not good at find names :)

Scott Babcock

unread,
Jan 18, 2017, 2:26:05 PM1/18/17
to testng-dev
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.

Julien Herr

unread,
Jan 19, 2017, 2:48:25 AM1/19/17
to testng-dev
Thanks! :)

--
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 testn...@googlegroups.com.
Visit this group at https://groups.google.com/group/testng-dev.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages