Skip to content
mutastic

Listener

interface in io.mutastic.api

interface Listener

Hears about a run as it happens, for progress and streamed output.

Methods

coverageFinished

default void coverageFinished(CoveragePass pass)

The coverage pass is done, and the mutants are about to run.

mutantFinished

void mutantFinished(MutantResult result)

One mutant’s result, as soon as it’s known.

fileFinished

default void fileFinished(String topLevelClass, List<MutantResult> results)

Every mutant in one source file’s classes has its result: a top-level class and the classes nested in it, in the order found. Comes after their mutantFinished calls.