It's very similar, but happens before teardown and adds the results to the test object. This means it can be retrieved when writing the HTML report. Alternatively we'd have a fragile link between the HTML report and any debug gathered in teardown. It possible that we would even remove the debug gathering from teardown once the report is in use.