Skip to content

Callback reporting usefulness

Ivan edited this page Nov 22, 2019 · 1 revision

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.