
30 Jun
2015
30 Jun
'15
3:02 p.m.
On 30/06/15 21:27, Hiromi ISHII wrote:
Hi,
I'm currently writing a web app to check the spec of input code usging QuickCheck. quickCheck* functions writes results to stderr & stdout, but I don't want them written to the app's original stdout/err. (I'm using SafeHaskell features to avoid malicious code executed, so don't worry about that :-))
It's not clear from your email whether you are concerned about the output of QuickCheck itself or the functions you're testing. In the former case, there is a way to get the output of QuickCheck as a String without printing it. Take a look at tasty-quickcheck's code for an example. Roman