The tasty-integrate package
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
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 with: added: none removed: Data.QcModulePath, 2 property(s) Data.QcSuite, 1 property(s) modified: none unmodified: 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):
|Change log||None available|
|Dependencies||aeson (==0.6.2.1), base (>=4.5 && <=22.214.171.124), bytestring (==0.10.2.0), 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]|
|Author||John P. Feltz|
|Uploaded||Sun Feb 2 04:06:56 UTC 2014 by jfeltz|
- tasty-integrate-0.0.1.tar.gz [browse] (Cabal source package)
- Package description (included in the package)
For package maintainers and hackage trustees