tasty-program alternatives and similar packages
Based on the "tasty" category.
Alternatively, view tasty-program alternatives based on common mentions on social networks and blogs.
-
tasty-hedgehog
Tasty integration for the Hedgehog property testing library -
tasty-expected-failure
Mark test cases as expected-failure -
tasty-rerun
Rerun previous test suite runs to run only failing tests -
tasty-ant-xml
A tasty ingredient to output test results in XML, using the Ant schema. This XML can be consumed by the Jenkins continuous integration framework. -
tasty-test-reporter
An ingredient for tasty that prints a summary and outputs junit xml that works with jenkins. -
tasty-th
Automatically generate tasty test groups from functions in a module using TH -
tasty-jenkins-xml
Render tasty output to XML for Jenkins in addition to other (console) output -
tasty-silver
A fancy test runner for tasty and support for golden tests. -
tasty-auto
Deprecated: Auto discovery for the Tasty test framework, use tasty-discover instead -
tasty-leancheck
LeanCheck support for the Tasty test framework (Haskell)
InfluxDB - Power Real-Time Data Analytics at Scale
Do you think we are missing an alternative of tasty-program or a related project?
README
tasty-program
IMPORTANT: This repository is now hosted on BitBucket.
This package provides a function that extends tasty testing framework with capability to test whether an external program runs successfully. This package is inspired by test-framework-program package by Adam Wick.
tasty-program provides basic functionality of running a program with specified set of command line parameters, and optionally a working directory, and checking the exit code. Program's output and error streams are ignored.
You can download latest stable release from Hackage
Example
Given foo.hs
source file:
module Foo where
foo :: Int
foo = 5
you can test whether GHC can compile it:
module Main (
main
) where
import Test.Tasty
import Test.Tasty.Program
main :: IO ()
main = defaultMain $ testGroup "Compilation with GHC" $ [
testProgram "Foo" "ghc" ["-fforce-recomp", "foo.hs"] Nothing
]