tasty-stats

Collect statistics of your Tasty testsuite in a CSV file

https://github.com/minad/tasty-stats#readme

Version on this page:0.2.0.2
LTS Haskell 12.26:0.2.0.4
Stackage Nightly 2018-09-28:0.2.0.4
Latest on Hackage:0.2.0.4

See all snapshots tasty-stats appears in

MIT licensed and maintained by Daniel Mendler
This version can be pinned in stack with:tasty-stats-0.2.0.2@sha256:4e625119d221e2bff146a28470c9e9099e9f2e037df8eff1fc4db37e1a6d4534,1326

Module documentation for 0.2.0.2

tasty-stats: Collect statistics of your Tasty test suite in a CSV file

Hackage Build Status

This package is useful to collect statistics of your Tasty test suite in a CSV file. Since timing information and the git commit is collected, the data can be used to find performance regressions between commits.

Use the Test.Tasty.Stats.consoleStatsReporter ingredient:

main = defaultMainWithIngredients (Test.Tasty.Stats.consoleStatsReporter : defaultIngredients) testTree

Then you can pass the option --stats stats.csv to the testsuite. Currently the following information is collected in this order:

idx, name, time, result, gitdate, gitcommit, date, nthreads, description

With tasty-auto:

-- test/test.hs
{-# OPTIONS_GHC -F -pgmF tasty-auto -optF Test.Tasty.Stats.consoleStatsReporter #-}