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

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 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 \:.