testBundleDidFinish(_:)
Notifies the observer immediately after all tests in a test bundle finish executing.
Declaration
optional func testBundleDidFinish(_ testBundle: Bundle)Parameters
- testBundle:
The bundle containing the tests that were executed.
Discussion
This method provides a customization point for any post-testing activity. The test process will generally exit after this method returns, so if there is long running and/or asynchronous work to be done after testing, be sure to implement this method in a way that blocks until all long running activity is complete.