MutagenEx.Runtime (mutagen_ex v0.2.0)

Copy Markdown View Source

Prepares a host Mix project and its ExUnit environment for an in-process run.

Summary

Functions

Loads test support, runs host test-alias pre-steps and starts the test suite. Returns a session with the test paths, ExUnit filters, and cleanup callbacks. Pass the session to finish/2 after running tests. The boot worker stays alive through cleanup so services linked by the test helper remain available. Compilation is outside the startup deadline.

Runs the session's after-suite callbacks and releases its boot worker.

Functions

boot(opts \\ [])

Loads test support, runs host test-alias pre-steps and starts the test suite. Returns a session with the test paths, ExUnit filters, and cleanup callbacks. Pass the session to finish/2 after running tests. The boot worker stays alive through cleanup so services linked by the test helper remain available. Compilation is outside the startup deadline.

finish(session, stats)

Runs the session's after-suite callbacks and releases its boot worker.

test_paths()

tool_version()