Current section
Files
Jump to
Current section
Files
lib/spout_stats.ex
defmodule SpoutStats do
@moduledoc """
A struct to keep track of test values and tests themselves.
It is used to build the TAP output file.
"""
defstruct errors: 0,
failures: 0,
skipped: 0,
tests: 0,
time: 0,
test_cases: []
@type t :: %__MODULE__{
errors: non_neg_integer,
failures: non_neg_integer,
skipped: non_neg_integer,
tests: non_neg_integer,
time: non_neg_integer,
test_cases: [ExUnit.Test.t]
}
end