tasty-sugar-1.2.0.0: Tests defined by Search Using Golden Answer References
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.Tasty.Sugar.ExpectCheck

Description

Function to find expected results files for a specific root file, along with any parameter values identified by the root file.

Synopsis

Documentation

findExpectation :: CUBE -> FilePath -> [FilePath] -> ([NamedParamMatch], FilePath, FilePath) -> Maybe (Sweets, SweetExplanation) Source #

Finds the possible expected files matching the selected source. There will be either one or none.