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 <[email protected]> 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`' ]).
