Is it possible to execute code before and after *all* integration tests are executed?

Hi,

Is it possible to execute code before and after *all* integration tests are executed?

I'm trying to do reporting based on executed tests. Right now each test creates detailed reports based on its execution and updates the final report with links to the detailed reports. It works, but is a bit messy.

I was thinking about creating some kind of FinalReporter, which would gather detailed reports from each test and create the final report after all tests are executed.

Is it possible?