ClientUtils.SpecCriteria (client_utils v0.7.3)
View SourceHolds a project's specs (test/specs/**/*_test.exs) to its story files, from
one test module in the project:
defmodule MyApp.SpecCriteriaTest do
use ClientUtils.SpecCriteria, givens: SpecCase
end- Every
@tag criterion: "<id>"is the id of a scenario in.code_my_spec/stories/*.yml, on a test that runs (not skipped, not excluded), and on one test only. - Every public arity-1 function of the
givensmodule (asetupstep) has a spec tagged@tag given: :<name>: the spec that shows the given lands where a person would have.
It reads the tags ExUnit holds, so no spelling hides one.
Summary
Functions
The criteria more than one test carries.
The tagged tests whose criterion no story has, or that will not run.