Callback reporting usefulness - reportportal/client-java GitHub Wiki

Callback reporting usefulness

In some cases during test method execution different additional long-running actions may be required (video recording/downloading for example) that are executed asynchronously to not interfere with test execution. In 'After' methods results of those actions should be attached to the TestItem. To provide access to the stored TestItems structure from the test context TestItemTree is used and to use it's content for reporting ItemTreeReporter is used.