The tasty-integrate package

[ Tags: bsd3, program, testing ] [ Propose Tags ]

This brings automated test-suite creation (such as what naturally occurs in Eclipse) to the Haskell world. This is a set of programs to automate the otherwise manual editing needed to combine new tests (QuickCheck) into test-groupings (tasty test framework).

Given a set of Modules containing properties:

$ ls tests/Data/*
QcIntegrated.hs  QcModulePath.hs  QcSuite.hs

Example use on a suite already importing the Modules above:

$ tasty-integrate --masking test-suites/Suites.hs tests/Data/QcIntegrated.hs
(changed) suite at: test-suites/Suite.hs
   Data.QcModulePath, 2 property(s)
   Data.QcSuite, 1 property(s)
   Data.QcIntegrated, 3 property(s)

The created suites are IDE parsable, and errors can resolve to their original file. So using the provided ide-format program from this package:

$ ./build/dist/suite/suite | ide-format
tests/Data/QcSuite.hs|20 error | buf_isomorphism
  *** Failed! Falsifiable (after 1 test):


Versions 0.0.1
Dependencies aeson (==, base (>=4.5 && <=, bytestring (==, cmdargs (==0.10.2), containers, directory, either, haskell-src-exts, language-haskell-extract, lens, mtl, parsec (>=3.1.5), regex-posix, split, system-filepath (>=0.4.9), tasty (==0.7), tasty-quickcheck, text, transformers, unix [details]
License BSD3
Author John P. Feltz
Category Testing
Uploaded Sun Feb 2 04:08:15 UTC 2014 by jfeltz
Distributions NixOS:0.0.1
Executables tasty-integrate, ide-format
Downloads 311 total (2 in the last 30 days)
Rating 0.0 (0 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-18 [all 5 reports]
Hackage Matrix CI


Maintainer's Corner

For package maintainers and hackage trustees