From f719d0fe308f00b85f92c29d7cdf9b0dc20d98a2 Mon Sep 17 00:00:00 2001 From: Erlang/OTP Date: Mon, 7 Apr 2014 19:52:48 +0200 Subject: Update release notes --- lib/common_test/doc/src/notes.xml | 178 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 178 insertions(+) (limited to 'lib/common_test/doc') diff --git a/lib/common_test/doc/src/notes.xml b/lib/common_test/doc/src/notes.xml index f10d5f85bf..ddfeb0964b 100644 --- a/lib/common_test/doc/src/notes.xml +++ b/lib/common_test/doc/src/notes.xml @@ -32,6 +32,184 @@ notes.xml +
Common_Test 1.8 + +
Fixed Bugs and Malfunctions + + +

+ The error generated if a test case process received an + exit from a linked process while executing + init_per_testcase/2, was handled incorrectly by Common + Test. The problem has been solved, and Common Test now + reports this type of error correctly, with proper error + reason and exit location as well.

+

+ Own Id: OTP-11643

+
+ +

+ Running a parallel test case group with two or more + instances of the same test case would result in identical + log file names, and one test case instance would + overwrite the log file of another. This problem has been + solved.

+

+ Own Id: OTP-11644

+
+ +

+ Application upgrade (appup) files are corrected for the + following applications:

+

+ asn1, common_test, compiler, crypto, debugger, + dialyzer, edoc, eldap, erl_docgen, et, eunit, gs, hipe, + inets, observer, odbc, os_mon, otp_mibs, parsetools, + percept, public_key, reltool, runtime_tools, ssh, + syntax_tools, test_server, tools, typer, webtool, wx, + xmerl

+

+ A new test utility for testing appup files is added to + test_server. This is now used by most applications in + OTP.

+

+ (Thanks to Tobias Schlager)

+

+ Own Id: OTP-11744

+
+ +

+ The cth_surefire hook would crash in + pre_init_per_suite/3 if a previous hook returned + {skip,Reason} or {fail,Reason} instead of a + Config list. This error has been corrected, and + cth_surefire will now simply propagate the + received InitData value instead.

+

+ Own Id: OTP-11811

+
+ +

+ Specs of return values are corrected for + ct_netconfc:get/2,3, + ct_netconfc:get_config/3,4, + ct_netconfc:action/2,3, + ct_netconfc:send_rpc/2,3 and + ct_netconfc:send/2,3.

+

+ Own Id: OTP-11834 Aux Id: seq12574

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

+ ct_telnet can now log all communication taking place + during a telnet session. Previously, only information + about ct_telnet operations and commands, as well as + explicitly requested data from the server, was logged.

+

+ Furthermore, a logging mechanism based on an Error Logger + event handler and a dedicated Common Test hook, + cth_conn_log, now makes it possible to print data + for individual connections to separate log files. Please + see the ct_telnet reference manual for more + information and examples.

+

+ Important note: A new argument, ConnName has been + added to the unix_telnet:connect/5 callback + function. This forces users that use private ct_telnet + callback modules to update their code according to + unix_telnet:connect/6. Please see the + unix_telnet reference manual and source code + module for details.

+

+ Own Id: OTP-11440 Aux Id: seq12457

+
+ +

+ A new timeout option has been introduced for the + ct_telnet:expect/3 function. With + {total_timeout,Time} it's possible to set a time + limit for the complete expect operation. After + Time milliseconds, expect/3 returns + {error,timeout}. The default value used if + total_timeout is not specified, is infinity (i.e. + no time limit). Please see the ct_telnet reference + manual for more information.

+

+ Own Id: OTP-11689

+
+ +

+ Some function specs are corrected or moved and some edoc + comments are corrected in order to allow use of edoc. + (Thanks to Pierre Fenoll)

+

+ Own Id: OTP-11702

+
+ +

+ Test case group name information has been added to the + data sent with tc_user_skip and + tc_auto_skip event messages, as well as the data + passed in calls to the CT Hook functions + on_tc_skip/3 and on_tc_fail/3. The + modification only affects the function name + element/argument. This value remains an atom if the test + case in question does not belong to a test case group. + Otherwise a tuple {FuncName,GroupName} + ({atom(),atom()}) is passed instead.

+

+ Note that this change may (depending on the patterns used + for matching) require modifications of user event + handlers and hook modules. Please see the Event Handling + chapter in the Common Test User's Guide, and the + reference manual for ct_hooks, for details.

+

+ Note also that the Test Server framework callback + function report/2 has been modified. This change + only affects users with test frameworks interfacing Test + Server rather than Common Test. See the + test_server_ctrl reference manual for details.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-11732 Aux Id: seq12541

+
+ +

+ If Common Test can't prompt the user to abort or continue + the test run when one or more test suites fail to + compile, a new option, + {abort_if_missing_suites,Bool}, can be used to + specify whether it should proceed with the test run, or + stop execution. The default value of Bool is + false (i.e. to proceed even if suites are + missing).

+

+ Own Id: OTP-11769

+
+
+
+ + +
Known Bugs and Problems + + +

+ common_test: Fix problems reported by Dialyzer.

+

+ Own Id: OTP-11525

+
+
+
+ +
+
Common_Test 1.7.4
Fixed Bugs and Malfunctions -- cgit v1.2.3