Skip to content

TestNG callback reporting example

Ivan edited this page Nov 27, 2019 · 4 revisions

TestNG callback reporting example

Usage of callback reporting is represented in this test class.

Basic steps to use callback reporting feature in your test classes:

You can either provide storage for retrieved TestItemLeaf like in JUnit4 example or send requests right after each test method execution using the TestNG @AfterMethod annotation passing ITestResult as argument to a marked method.

Clone this wiki locally