test-framework-golden-1.0: Golden tests support for test-framework

Safe HaskellSafe-Inferred

Test.Framework.Providers.Golden

Synopsis

Documentation

goldenSource

Arguments

:: TestName

test name

-> FilePath

path to the «golden» file (the file that contains correct output)

-> FilePath

path to the output file

-> IO ()

action that creates the output file

-> Test

test verifies that the output file is the same as the golden file

Create a test-framework test based on a «golden» file