From cfea5eea406ba3af96588ff458e55de9a149d9c5 Mon Sep 17 00:00:00 2001 From: Erlang/OTP Date: Sun, 1 Apr 2012 20:14:41 +0200 Subject: Prepare release --- lib/test_server/doc/src/notes.xml | 149 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 149 insertions(+) (limited to 'lib/test_server/doc') diff --git a/lib/test_server/doc/src/notes.xml b/lib/test_server/doc/src/notes.xml index d90ad2c4ed..3701066e56 100644 --- a/lib/test_server/doc/src/notes.xml +++ b/lib/test_server/doc/src/notes.xml @@ -32,6 +32,155 @@ notes.xml +
Test_Server 3.5.1 + +
Fixed Bugs and Malfunctions + + +

+ After a test case timeout or abortion, the + end_per_testcase function executes on a new dedicated + process. The group leader for this process should be set + to the IO server for the test case, which was not done + properly. The result of this error was that no warnings + about end_per_testcase failing or timing out were ever + printed in the test case log. Also, help functions such + as e.g. test_server:stop_node/1, attempting to + synchronize with the IO server, would hang. The fault has + been corrected.

+

+ Own Id: OTP-9666

+
+ +

+ A deadlock situation could occur if Common Test is + forwarding error_handler printouts to Test Server at the + same time a new test case is starting. This error has + been fixed.

+

+ Own Id: OTP-9894

+
+ +

+ When a test case was killed because of a timetrap + timeout, the current location (suite, case and line) was + not printed correctly in the log files. This has been + corrected.

+

+ Own Id: OTP-9930 Aux Id: seq12002

+
+ +

+ Test Server and Common Test would add new error handlers + with each test run and fail to remove previously added + ones. In the case of Test Server, this would only happen + if SASL was not running on the test node. This has been + fixed.

+

+ Own Id: OTP-9941 Aux Id: seq12009

+
+ +

+ If a test case process was terminated due to an exit + signal from a linked process, Test Server failed to + report the correct name of the suite and case to the + framework. This has been corrected.

+

+ Own Id: OTP-9958 Aux Id: OTP-9855

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

+ A new optional feature has been introduced that enables + Common Test to generate priv_dir directory names that are + unique for each test case or config function. The name of + the option/flag is 'create_priv_dir' and it can be set to + value 'auto_per_run' (which is the default, existing, + behaviour), or 'auto_per_tc' or 'manual_per_tc'. If + 'auto_per_tc' is used, Test Server creates a dedicated + priv_dir automatically for each test case (which can be + very expensive in case of many and/or repeated cases). If + 'manual_per_tc' is used, the user needs to create the + priv_dir explicitly by calling the new function + ct:make_priv_dir/0.

+

+ Own Id: OTP-9659 Aux Id: seq11930

+
+ +

+ A column for test case group name has been added to the + suite overview HTML log file.

+

+ Own Id: OTP-9730 Aux Id: seq11952

+
+ +

+ It is now possible to use the post_end_per_testcase CT + hook function to print a comment for a test case in the + overview log file, even if the test case gets killed by a + timetrap or unknown exit signal, or if the + end_per_testcase function times out.

+

+ Own Id: OTP-9855 Aux Id: seq11979

+
+ +

+ Common Test will now print error information (with a time + stamp) in the test case log file immediately when a test + case fails. This makes it easier to see when, in time, + the fault actually occured, and aid the job of locating + relevant trace and debug printouts in the log.

+

+ Own Id: OTP-9904 Aux Id: seq11985, OTP-9900

+
+ +

+ Test Server has been modified to check the SASL + errlog_type parameter when receiving an error logger + event, so that it doesn't print reports of type that the + user has disabled.

+

+ Own Id: OTP-9955 Aux Id: seq12013

+
+ +

+ If an application cannot be found by ts it is + automatically skipped when testing.

+

+ Own Id: OTP-9971

+
+ +

+ By specifying a user defined function ({M,F,A} or fun) as + timetrap value, either by means of an info function or by + calling ct:timetrap/1, it is now possible to set a + timetrap that will be triggered when the user function + returns.

+

+ Own Id: OTP-9988 Aux Id: OTP-9501, seq11894

+
+ +

+ If the optional configuration functions init_per_suite/1 + and end_per_suite/1 are not implemented in the test + suite, local Common Test versions of these functions are + called instead, and will be displayed in the overview log + file. Any printouts made by the pre- or + post_init_per_suite and pre- or post_end_per_suite hook + functions are saved in the log files for these functions.

+

+ Own Id: OTP-9992

+
+
+
+ +
+
Test_Server 3.5
Improvements and New Features -- cgit v1.2.3