Fork me on GitHub

How to Use

Use it as is

Add QaJGivenPerMethodReporter, QaJGivenPerClassReporter, and/or QaJGivenReporter to your testng.xml files as a TestNG Listener. For example:


<suite>
  <listeners>
    <listener
      class-name="dev.aherscu.qa.jgiven.reporter.QaJGivenPerMethodReporter"/>
  </listeners>
  ...
</suite>

Customize it

Derive your reporter class from one of the reporter classes above – see TestRailReporter as an example.