From 5aa950086a5fa036f27e670517a5c743e0610128 Mon Sep 17 00:00:00 2001 From: Erlang/OTP Date: Mon, 6 May 2019 17:09:17 +0200 Subject: Prepare release --- lib/common_test/doc/src/ct_hooks.xml | 4 +-- lib/common_test/doc/src/notes.xml | 60 ++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+), 2 deletions(-) (limited to 'lib/common_test/doc') diff --git a/lib/common_test/doc/src/ct_hooks.xml b/lib/common_test/doc/src/ct_hooks.xml index b9bc54ff63..7664dcc9d1 100644 --- a/lib/common_test/doc/src/ct_hooks.xml +++ b/lib/common_test/doc/src/ct_hooks.xml @@ -109,7 +109,7 @@ - Module:post_groups(SuiteName, GroupDefs) -> NewGroupDefs + Module:post_groups(SuiteName, GroupDefs) -> NewGroupDefs Called after groups/0. SuiteName = atom() @@ -165,7 +165,7 @@ - Module:post_all(SuiteName, Return, GroupDefs) -> NewReturn + Module:post_all(SuiteName, Return, GroupDefs) -> NewReturn Called after all/0. SuiteName = atom() diff --git a/lib/common_test/doc/src/notes.xml b/lib/common_test/doc/src/notes.xml index 018bb910a1..9c74146d73 100644 --- a/lib/common_test/doc/src/notes.xml +++ b/lib/common_test/doc/src/notes.xml @@ -33,6 +33,66 @@ notes.xml +
Common_Test 1.17.2 + +
Fixed Bugs and Malfunctions + + +

+ The test result when a hook function fails is in general + the same as if the function that the hook is associated + with fails. For example, if post_init_per_testcase + fails the result is that the test case is skipped, as is + the case when init_per_testcase fails.This, + however, was earlier not true for timetrap timeouts or + other error situations where the process running the hook + function was killed. This is now corrected, so the error + handling should be the same no matter how the hook + function fails.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-15717 Aux Id: ERIERL-334

+
+ +

+ In some rare cases, when two common_test nodes used the + same log directory, a timing problem could occur which + caused common_test to crash because it's log cache file + was unexpectedly empty. This is now corrected.

+

+ Own Id: OTP-15758 Aux Id: ERIERL-342

+
+
+
+ + +
Improvements and New Features + + +

+ Two new common_test hook functions are introduced:

+

+ post_groups/2, which is called after + Suite:groups/0
post_all/3, which is + called after Suite:all/0

+

+ These functions allow modifying the return values from + the groups/0 and all/0 functions, + respectively.

+

+ A new term, {testcase,TestCase,RepeatProperties} + is now also allowed in the return from all/0. This + can be used for repeating a single test case a specific + number of times, or until it fails or succeeds once.

+

+ Own Id: OTP-14746 Aux Id: ERIERL-143

+
+
+
+ +
+
Common_Test 1.17.1
Improvements and New Features -- cgit v1.2.3