HORIZON HASKELLDocslts/ghc-9.14.x3e2d5682026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 2026-10-11

Modulesydtest-mutation-runtime-0.2.0.0Haskell2010

Test.Syd.Mutation.TestId

  • 1 type
  • 2 values
newtypenewtype TestId
#

An opaque identifier for a single test in a Spec.

A TestId is stable across runs as long as the spec structure does not change. When two tests share the same description at the same level, a zero-based per-description sibling index is used to distinguish them; the index is omitted when it is zero.

Constructors

Instances8Eq, Ord, Show, Generic, Validity, HasCodec, …
valuerenderTestId :: TestId -> Text
#

Render a TestId as a human-readable string that is also parseable by parseTestIdFilterArg and usable as the argument to --filter-id.

Steps are separated by .. The index suffix :n (for n > 0) is appended after the description. Literal \, ., and : in descriptions are escaped as \\, \., and \:.