API Reference temper v#0.2.1

Copy Markdown View Source

Modules

Flaky-test detection for ExUnit.

Classifies recorded test outcomes into flaky tests and suspects.

Preflight checks behind mix temper.doctor, diagnosing the setup mistakes that fail silently: a formatter that never registers, a history_path invisible outside the test env, a suite that records nothing, records without a usable commit SHA.

Boundary module that gathers run context data from the real world: git, CI environment variables, the system clock and the runtime.

ExUnit formatter that records every test outcome to the history file.

Encodes Temper.Records as history lines and decodes them back.

Boundary module that reads history files back into records.

The {partition} placeholder in configured history paths.

Boundary module that appends history lines to a .jsonl file.

One recorded test outcome — the unit Temper's history is made of.

Renders analysis results for humans or machines.

The run context shared by every test outcome recorded during one ExUnit suite run.

Mix Tasks

Deletes Temper's recorded history files.

Preflight check for a working Temper setup.

Reports flaky tests: tests with divergent outcomes on the same git SHA.