You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ii...@apache.org on 2025/07/16 14:52:37 UTC
(couchdb) branch print-failed-property-test created (now 582b5e33b)
This is an automated email from the ASF dual-hosted git repository.
iilyak pushed a change to branch print-failed-property-test
in repository https://gitbox.apache.org/repos/asf/couchdb.git
at 582b5e33b Print the name of the failed property test
This branch includes the following new commits:
new 582b5e33b Print the name of the failed property test
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(couchdb) 01/01: Print the name of the failed property test
Posted by ii...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
iilyak pushed a commit to branch print-failed-property-test
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 582b5e33b63d126711db75ffaa7f35a97870c642
Author: ILYA Khlopotov <ii...@apache.org>
AuthorDate: Wed Jul 16 07:52:10 2025 -0700
Print the name of the failed property test
---
src/couch/include/couch_eunit_proper.hrl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/couch/include/couch_eunit_proper.hrl b/src/couch/include/couch_eunit_proper.hrl
index dcf07701a..75172bfb8 100644
--- a/src/couch/include/couch_eunit_proper.hrl
+++ b/src/couch/include/couch_eunit_proper.hrl
@@ -18,12 +18,12 @@
{
atom_to_list(F),
{timeout, QuickcheckTimeout,
- ?_assert(proper:quickcheck(?MODULE:F(), [
+ ?_test(?assertMatch(true, proper:quickcheck(?MODULE:F(), [
{to_file, user},
{start_size, 2},
{numtests, NumTests},
long_result
- ]))}
+ ]), "Failed property test '" ++ atom_to_list(F) ++ "'"))}
}
|| {F, 0} <- ?MODULE:module_info(exports), F > 'prop_', F < 'prop`'
]).