aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src/ct_framework.erl
AgeCommit message (Collapse)Author
2013-01-25[common_test] Update common test modules to handle unicodeSiri Hansen
* Use UTF-8 encoding for all HTML files, except the HTML version of the test suite generated with erl2html2:convert, which will have the same encoding as the original test suite (.erl) file. * Encode link targets in HTML files with test_server_ctrl:uri_encode/1. * Use unicode modifier 't' with ~s when appropriate. * Use unicode:characters_to_list and unicode:characters_to_binary for conversion between binaries and strings instead of binary_to_list and list_to_binary.
2012-11-20Merge branch 'maint'Peter Andersson
Conflicts: lib/common_test/test/Makefile
2012-11-19Implement new group search functionalityPeter Andersson
OTP-10466
2012-09-19Teach test_server to report severe errors to common_testBjörn Gustavsson
If a severe error occurs in test_server (e.g. failing to write to log files), test_server would terminate without commont_test knowing about it. Since ct_run can now return an exit code, it is important that common_test is aware of severe problem so that it can indicate that an error has occurred.
2012-08-24Solve problem with registering parallel testcasesPeter Andersson
2012-08-23Solve problems with verbosity levels and parallel test casesPeter Andersson
2012-08-23Merge remote branch 'origin/peppe/common_test/break_and_continue' into maintPeter Andersson
* origin/peppe/common_test/break_and_continue: Fix error in documentation Implement support for test case execution break/continue Conflicts: lib/common_test/src/ct.erl lib/common_test/src/ct_run.erl OTP-10127 OTP-10172
2012-08-23Merge branch 'peppe/common_test/table_sorter' into maintPeter Andersson
* peppe/common_test/table_sorter: Fix installation of javascript files on windows Fix installation of javascript files Make it possible to sort the HTML tables Conflicts: lib/common_test/src/ct_util.hrl OTP-9896
2012-08-08Implement support for test case execution break/continuePeter Andersson
2012-07-06Make it possible to sort the HTML tablesPeter Andersson
OTP-9896 Introduce java scripts in the web pages to enable sorting of table elements.
2012-05-04Fix timetrap error in pre-hooksPeter Andersson
2012-03-30Update copyright yearsBjörn-Egil Dahlberg
2012-03-23Merge branch 'peppe/common_test/otp-9871' into ↵Peter Andersson
peppe/common_test/otp-9988_9871.merged Conflicts: lib/common_test/src/ct_framework.erl
2012-03-21Fix dialyzer reported errorsPeter Andersson
2012-03-21Implement support for user controlled timetrapsPeter Andersson
OTP-9988
2012-03-19Fix error with group config deleted before post_end_per_groupPeter Andersson
OTP-9989 Also improve ct_hooks test suite.
2012-03-19Introduce new test suite for CTHsPeter Andersson
2012-03-19Use calls to ct_framework:init/end_per_suite for configurationPeter Andersson
Now that calls to ct_framework:init/end_per_suite take place whenever init/end_per_suite is missing in the test suite, these calls should trigger init/end_tc to perform configuration (such as calling calling CTH functions, suite/0, etc).
2012-03-19Change ct_init/end_per_group to init/end_per_groupPeter Andersson
OTP-9986
2012-03-19Run hooks for non-existing config functionsPeter Andersson
2012-03-11Introduce error notification printout in the tc logPeter Andersson
Also fix problem with parallel test cases printing "into each other" (when using ct:print or ct:pal). OTP-9904 OTP-9900
2011-12-09Merge remote branch 'origin/peppe/common_test/groups'Peter Andersson
* origin/peppe/common_test/groups: Change init/end_per_group/0 -> init/end_per_group/1 Add config info suite Add tests for group specification and info function Implement support for overriding group properties with test specification Implement support for overriding group properties with all/0 Implement the group info function OTP-9235 OTP-9569 OTP-9809
2011-12-07Change init/end_per_group/0 -> init/end_per_group/1Peter Andersson
2011-12-07Implement support for overriding group properties with test specificationPeter Andersson
2011-12-02Implement support for overriding group properties with all/0Peter Andersson
2011-12-02Implement the group info functionPeter Andersson
OTP-9235
2011-11-30Get test case log file name reported to userPeter Andersson
2011-11-18Make absolute paths in log files relativePeter Andersson
2011-11-13Add CSS stylesheet for the text and tables in Common Test and Test ServerPeter Andersson
Also make general improvements of presentation of results. OTP-9706
2011-09-28Add missing tests for timetrap handling and fix remaining errorsPeter Andersson
OTP-9593
2011-09-27Solve problem with ct_init/end_per_group being counted as test casesPeter Andersson
2011-09-27Fix problem with test_server_ctrl creating invalid conf testPeter Andersson
OTP-9584
2011-09-27Improve info in CT framework logPeter Andersson
2011-09-23Enhance logging performancePeter Andersson
OTP-9575
2011-09-23Implement support for running suites with test case groups through the debuggerPeter Andersson
OTP-9518
2011-09-23Various corrections and updates to improve error handling and reportingPeter Andersson
OTP-8933
2011-09-23Fix problem with incorrect src linksPeter Andersson
OTP-9396
2011-09-23Fix problem with end_tc being called with incorrect Suite argumentPeter Andersson
OTP-9398: Fix error with end_tc being called with incorrect Suite argument after timeout in lib function OTP-9397: Fix problem with true error not reported to FW
2011-09-23Introduce new framework callback function to read info about color of commentsPeter Andersson
OTP-9237
2011-09-23Introduce new 'logopts' flagPeter Andersson
Introduce new 'logopts' flag and make it possible to modify the default logging behaviour OTP-9372 OTP-9396
2011-09-23Fix problem with automatically generated init & end-config functions for groupsPeter Andersson
OTP-9369
2011-09-15Fix misspelling of compatibilityTuncer Ayaz
2011-08-31Add priority functionality and tests for ct hooksLukas Larsson
Priority allows the user of ct hooks to specify which order the hooks should execute in. The priority of a hook is specified when installing the hook, and stays the same for both pre and post hooks
2011-05-09Merge branch 'lukas/common_test/timeout_location_fix/OTP-9265' into devLukas Larsson
* lukas/common_test/timeout_location_fix/OTP-9265: Fix ct_framework to not crash when error_notification location is undefined.
2011-04-28Fix error in vts mode, making it impossible to execute suites with test case ↵Peter Andersson
groups.
2011-04-28Fix issues related to test case groups:Peter Andersson
1. Allow empty group to be specified without generating an error. 2. Sort out potential problem with unnecessary call to delete_subs/2.
2011-04-28Make it possible to refresh the top level index page at the start of a test run.Peter Andersson
2011-04-20Fix problem with CT hook start error causing IO to be sent to wrong group ↵Peter Andersson
leader process.
2011-04-15Export ct_framework:end_tc/3 for backwards compatability reasonsLukas Larsson
2011-03-31Fix ct_framework to not crash when error_notification location is undefined.Lukas Larsson