From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 4C68A7FE36 for ; Thu, 30 Jun 2016 14:11:10 +0200 (CEST) IronPort-PHdr: 9a23:2cy8uxFYtQrsidVMgginb51GYnF86YWxBRYc798ds5kLTJ75osqwAkXT6L1XgUPTWs2DsrQf2rKQ6v+rBTJIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TWM5DIfUi/yKRBybrysXNWD14LuiKvupdX6WEZhvHKFe7R8LRG7/036l/I9ps9cEJs30QbDuXBSeu5blitCLFOXmAvgtI/rpMYwu3cYh/V0/MdFVe3nZKkiVvQMBz0jNyUx5db3nRjFVwqGoHUGBDY4iB1NViPF9hDhQpDpshzaKOVwwmHONs3sTKsoXiyiqadsRRDlkg8bKnsz/XvTi8o2gK8N80HpnAB234OBONLdD/F5ZK6IJd4= Authentication-Results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=christoph.hoeger@tu-berlin.de; spf=None smtp.mailfrom=christoph.hoeger@tu-berlin.de; spf=None smtp.helo=postmaster@mail.tu-berlin.de Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of christoph.hoeger@tu-berlin.de) identity=pra; client-ip=130.149.7.33; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="christoph.hoeger@tu-berlin.de"; x-sender="christoph.hoeger@tu-berlin.de"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of christoph.hoeger@tu-berlin.de) identity=mailfrom; client-ip=130.149.7.33; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="christoph.hoeger@tu-berlin.de"; x-sender="christoph.hoeger@tu-berlin.de"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mail.tu-berlin.de) identity=helo; client-ip=130.149.7.33; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="christoph.hoeger@tu-berlin.de"; x-sender="postmaster@mail.tu-berlin.de"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0B3AgBHC3VXhyEHlYJahD9SpjuTB4F8h1M5EwEBAQEBAQEBEQEBAQoLCQkhL4IygkQPAXsCJgJfDQYCAQGILKMRj2KQKSWBAYceiheCWgWZC5gIhWOQBR8Bgk2BWWyJSAEBAQ X-IPAS-Result: A0B3AgBHC3VXhyEHlYJahD9SpjuTB4F8h1M5EwEBAQEBAQEBEQEBAQoLCQkhL4IygkQPAXsCJgJfDQYCAQGILKMRj2KQKSWBAYceiheCWgWZC5gIhWOQBR8Bgk2BWWyJSAEBAQ X-IronPort-AV: E=Sophos;i="5.26,552,1459807200"; d="scan'208";a="224883539" Received: from mail.tu-berlin.de ([130.149.7.33]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Jun 2016 14:11:09 +0200 X-tubIT-Incoming-IP: 130.149.172.228 Received: from brego.uebb.tu-berlin.de ([130.149.172.228]) by mail.tu-berlin.de (exim-4.84_2/mailfrontend-6) with esmtpsa [TLSv1.2:DHE-RSA-AES128-SHA:128] for id 1bIaoF-0000Mj-6N; Thu, 30 Jun 2016 14:11:09 +0200 To: caml users From: =?UTF-8?Q?Christoph_H=c3=b6ger?= Organization: =?UTF-8?Q?Technische_Universit=c3=a4t_Berlin?= Message-ID: Date: Thu, 30 Jun 2016 14:11:07 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: [Caml-list] [qcheck] shrinking counterexamples on exception 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