The tasty-stats package

[ Tags: library, mit, testing ] [ Propose Tags ]

Collect statistics of your Tasty testsuite in a CSV file


[Skip to Readme]

Properties

Versions 0.1.0.0, 0.1.0.1, 0.2.0.0, 0.2.0.1, 0.2.0.2, 0.2.0.3 (info)
Dependencies base (>=4.8 && <5), containers (>=0.4 && <0.6), directory (>=1.1 && <1.4), process (>=1.3 && <1.7), stm (>=2.4 && <2.6), tagged (>=0.7 && <0.9), tasty (>=0.11.2 && <1.0), time (>=1.5 && <1.9) [details]
License MIT
Copyright 2017 Daniel Mendler
Author Daniel Mendler <mail@daniel-mendler.de>
Maintainer Daniel Mendler <mail@daniel-mendler.de>
Category Testing
Home page https://github.com/minad/tasty-stats#readme
Bug tracker https://github.com/minad/tasty-stats/issues
Source repository head: git clone https://github.com/minad/tasty-stats
Uploaded Sun Jul 30 08:30:53 UTC 2017 by minad
Updated Fri Nov 3 11:21:00 UTC 2017 by minad to revision 1
Distributions LTSHaskell:0.2.0.3, NixOS:0.2.0.3, Stackage:0.2.0.3, Tumbleweed:0.2.0.2
Downloads 257 total (19 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-07-30 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees


Readme for tasty-stats-0.2.0.3

[back to package description]

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 #-}