tasty-travis: Fancy Travis CI output for tasty tests.

[ bsd3, library, testing ] [ Propose Tags ]

Fancy Travis CI output for tasty tests. Features include:

  • Folded output

  • Coloured output

  • Hiding successful tests

[Skip to Readme]




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

Package maintainers

For package maintainers and hackage trustees


Versions [RSS] 0.1.0, 0.1.1, 0.1.2, 0.2.0,, (info)
Dependencies base (>=4.6 && <4.11), tasty (>=0.12 && <0.13) [details]
License BSD-3-Clause
Copyright Copyright © 2017 Merijn Verstraaten
Author Merijn Verstraaten
Maintainer Merijn Verstraaten <merijn@inconsistent.nl>
Revised Revision 1 made by MerijnVerstraaten at 2020-11-11T11:35:54Z
Category Testing
Home page https://github.com/merijn/tasty-travis
Bug tracker https://github.com/merijn/tasty-travis/issues
Source repo head: git clone ssh://github.com:merijn/tasty-travis.git
head: hg clone https://bitbucket.org/merijnv/tasty-travis
Uploaded by MerijnVerstraaten at 2017-11-01T16:18:38Z
Distributions NixOS:
Reverse Dependencies 1 direct, 1 indirect [details]
Downloads 3531 total (21 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-11-01 [all 1 reports]

Readme for tasty-travis-0.1.0

[back to package description]

Tasty Travis: Fancy Travis CI output for tasty tests

BSD3 Hackage Build Status

Tasty Travis provides fancy Tasty test output on Travis CI.

It allows you get coloured test output, folding and collapsing groups of tests, and hiding the output of successful tests.


Here's what an example test.hs might look:

import Test.Tasty
import Test.Tasty.Travis (travisTestReporter, defaultConfig, listingTests)
import Test.Tasty.HUnit

import Data.List
import Data.Ord

main = defaultMainWithIngredients ingredients tests
    ingredients = [ listingTests, travisTestReporter defaultConfig ]

tests :: TestTree
tests = testGroup "Unit tests"
  [ testCase "List comparison (different length)" $
      [1, 2, 3] `compare` [1,2] @?= GT

  -- the following test does not hold
  , testCase "List comparison (same length)" $
      [1, 2, 3] `compare` [1,2,2] @?= LT