From 6f756216db81f0f280105001dd696a1477949ccf Mon Sep 17 00:00:00 2001 From: John Date: Wed, 14 Feb 2024 16:13:50 +0000 Subject: [PATCH] clarify --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 86c77abed..19db3fa8e 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Cotest allows for a linear test case layout, in which the test coroutine launche of C++ statements. Cotest can do this without needing a data structure populated with expected future events. The user directly implements the test coroutine and can insert arbitrary logic to decide how to respond to mock calls and results from code under test, without needing to split the code into multiple lambda actions. -Cotest supports matching on both _watches_ (similar to GMock expectations but with additional wildcard categories) and the coroutine body +Cotest supports matching on both _watches_ (similar to GMock expectations but with additional wildcard categories) and inside the coroutine body (a test coroutine can _drop_ a mock call and GMock's matching search will continue). Cotest actions are simply coded directly into the coroutine body by the user. Cardinality is inferred from the execution state of the coroutine, plus APIs for retiring and becoming satisfied.