phile314/tasty-silver


A fancy test runner for tasty and support for golden tests.

License: MIT

Language: Haskell


Build Status

Tasty Silver

This package provides support for «golden testing».

A golden test is an IO action that writes its result to a file. To pass the test, this output file should be identical to the corresponding «golden» file, which contains the correct result for the test.

Interactive Mode

If the test runner is called with the -i option, the diff of any failing golden test is shown to the user. Based upon this diff, the user can choose to update the golden standard or to fix the test case as necessary. Interactive mode requires that at least git diff and less is available, or preferrably wdiff and colordiff for character-based diffs.

Examples

For a non-trivial example see the Agda tests, which is used for testing the Agda compiler.

Maintainers

Philipp Hausmann is the primary maintainer.

Project Statistics

Sourcerank 5
Repository Size 158 KB
Stars 3
Forks 1
Watchers 1
Open issues 5
Dependencies 28
Contributors 5
Tags 20
Created
Last updated
Last pushed

Top Contributors See all

Roman Cheplyaka Philipp Hausmann Kirill Zaborsky Niklas Hambüchen Andrés Sicard-Ramírez

Packages Referencing this Repo

tasty-silver
This package provides a fancy test runner and support for «golden testing». A golden test is an I...
Latest release 3.1.12 - Updated - 3 stars

Recent Tags See all

v3.1.12 September 24, 2018
v3.1.11 December 29, 2017
v3.1.11 December 29, 2017
v3.1.10 April 01, 2017
v3.1.10 April 01, 2017
v3.1.9 August 29, 2016
v3.1.8.1 January 19, 2016
v3.1.8 November 10, 2015
v3.1.7 May 14, 2015
v3.1.6 May 14, 2015
v3.1.5 April 12, 2015
v3.1.4 April 12, 2015
v3.1.3 April 06, 2015
v3.1.2 April 06, 2015
v3.1.1 April 04, 2015

Something wrong with this page? Make a suggestion

Last synced: 2018-02-04 11:50:44 UTC

Login to resync this repository