* [Caml-list] [qcheck] shrinking counterexamples on exception
@ 2016-06-30 12:11 Christoph Höger
2016-06-30 12:15 ` Simon Cruanes
0 siblings, 1 reply; 2+ messages in thread
From: Christoph Höger @ 2016-06-30 12:11 UTC (permalink / raw)
To: caml users
Dear all,
I am running property based tests using qcheck on some transformation
code. The tests fail with an exception (which is somewhat expected) but
I cannot easily debug the problem since the counterexample is still
quite large. In case of a violated assertion, shrinking works just fine.
I am running the test using
QCheck.Test.check_exn mytest
is there a test-runner that shrinks a counterexample in case of an
exception?
thanks,
Christoph
--
Christoph Höger
Technische Universität Berlin
Fakultät IV - Elektrotechnik und Informatik
Übersetzerbau und Programmiersprachen
Sekr. TEL12-2, Ernst-Reuter-Platz 7, 10587 Berlin
Tel.: +49 (30) 314-24890
E-Mail: christoph.hoeger@tu-berlin.de
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-06-30 12:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-30 12:11 [Caml-list] [qcheck] shrinking counterexamples on exception Christoph Höger
2016-06-30 12:15 ` Simon Cruanes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox