ExQuality.Stages.Test (ExQuality v0.2.0)

View Source

Runs the test suite with optional coverage analysis.

  • Uses mix coveralls if :excoveralls is in deps
  • Uses mix test otherwise or in quick mode
  • Parses test count, pass/fail counts
  • Parses coverage percentage if available
  • Reads coverage threshold from coveralls config (single source of truth)

In quick mode: runs mix test instead of mix coveralls (tests must pass, but coverage threshold is not enforced).

Summary

Functions

Runs the test stage.

Functions

run(config)

@spec run(keyword()) :: ExQuality.Stage.result()

Runs the test stage.

Config options

  • quick - Use mix test instead of mix coveralls (default: false)