QA (eng)

Test Suite Report Builder Comparison

Here is a short comparison of for most popular ways to build test report for TestNG + Java framework (with comparison table in the end of the post).

Log4J

This is a pretty simple logger which throws test suite execution to the Windows Console, Eclipse Console and text file.

There is no screenshot capturing or easy navigation between multiple suites, so, this is just a huge text file.

1

TestNG Report

This is a much better test report, but you will not able to see the execution process in Windows console, executed steps and so on. But from the other hand – it easily shows what executed, skipped or failed in your test suite and what was the reason.

This slideshow requires JavaScript.

XSLT Report

XSLT report is almost the same as TestNG basic report, but got much more better UI – graphical Test Suite overview, nice left scrollable panel with visualized test status.

This slideshow requires JavaScript.

ExtentReport

Extent report is the best one in my list cause of the visualization of the result of the test suites execution:

7

Separate bug section, step by step log of the particular test case execution as we saw at Log4J and automatic screenshot capturing in case of error:

This slideshow requires JavaScript.

Here is the pros and cons of every report builder:

2017-03-05_20-51-21

Advertisements
Standard

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s