Skip to content
This repository was archived by the owner on Jan 8, 2023. It is now read-only.
This repository was archived by the owner on Jan 8, 2023. It is now read-only.

Handler when tests are done running/before app exits? #114

Open
@cclauson

Description

@cclauson

I'm working with a test running app where "FinishedLaunching()" has code similar to:

var nunit = new NUnit.Runner.App();
...
nunit.Options.TerminateAfterExecution = true;
...
LoadApplication(nunit);
return base.FinishedLaunching(app, options);

Along with terminating once the tests are done, I would also like some additional code to be executed. WillTerminate() does not seem to be guaranteed to be called and seems close to being deprecated, and I'm not sure if DidEnterBackground() is what I would want.

Was curious if there is anything obvious I'm missing. If not, would it make sense to allow a handler to be set on the test runner app to be called once all the tests are done running?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions