aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/test/ct_test_support.erl
AgeCommit message (Collapse)Author
2014-09-24[ct test] Explicitly unregister event receiver to avoid badargSiri Hansen
... when two tests are run within the same test case.
2014-02-07Fix problem with logging exits that happen in init_per_testcasePeter Andersson
2013-11-18Correct tests cases that fail because of modified eventsPeter Andersson
2013-09-03Find and fix minor bugsPeter Andersson
2013-09-02Add test suitePeter Andersson
2013-06-28Add testPeter Andersson
OTP-11176
2013-04-17Bug fixes in Common Test log cachePeter Andersson
2013-04-17Merge branch 'peppe/common_test/log_cache' into maintPeter Andersson
* peppe/common_test/log_cache: Implement cache for the CT logger OTP-10855
2013-04-17Implement cache for the CT loggerPeter Andersson
OTP-10855
2013-03-25[common_test] Add support for testing repeated testrunsSiri Hansen
ct_test_support which is used in common_test's own tests did not support testruns with -repeat, -duration or -until options. This is now added.
2013-02-18Fix problems with verbosity test suitePeter Andersson
2013-01-27Merge branch 'peppe/common_test/testspec_include'Peter Andersson
* peppe/common_test/testspec_include: Add more tests Update documentation Add tests and correct errors Update CT Master Implement support for including test specifications Make it possible to execute one test run per test specification Conflicts: lib/common_test/src/ct_master.erl lib/common_test/src/ct_run.erl lib/common_test/src/ct_testspec.erl OTP-9881
2013-01-25Update copyright yearsBjörn-Egil Dahlberg
2013-01-24Add tests and correct errorsPeter Andersson
OTP-9881
2013-01-23Merge branch 'siri/common_test/minor_test_fixes/OTP-10483'Siri Hansen
* siri/common_test/minor_test_fixes/OTP-10483: [common_test] Extend timetrap time in ct_hooks_SUITE [common_test] Avoid hanging ct@host node if crypto does not exist [common_test] Changed call to publick_key to use documented interface [common_test] Extend timeout values for slave nodes in ct_master_SUITE [common_test] Extend valid interval for approximate timer values in tests
2012-12-20[common_test] Stop cover on slave node after node is terminatedSiri Hansen
Before terminating slave nodes, common_test calls cover:flush/1 to fetch data from the node without actually stopping cover on this node. If cover is not stopped for the node and a new node with the same name is started, then cover will be started on the new node. To avoid this common_test now calls cover:stop/1 after the slave node is terminated.
2012-12-14[common_test] Extend valid interval for approximate timer values in testsSiri Hansen
When matching the result of tests of timetrap timeouts, the actual time is measured against the expected time, and an interval of +/- 2% was seen as correct result. This turned out to fail on some platforms and is now changed to 5%.
2012-11-26Merge branch 'bjorn/ct/env-vars/OTP-10469'Björn Gustavsson
* bjorn/ct/env-vars/OTP-10469: Add support for passing environment variables in master mode Remove redundant sleep in ct_master_SUITE Test that test cases succeed Add ct_test_support:verify_events/4 which takes a node name
2012-11-07[common_test] Add tests for user timetraps in groupsSiri Hansen
2012-10-31Add ct_test_support:verify_events/4 which takes a node nameBjörn Gustavsson
2012-10-30[common_test, test_server] Don't flush cover if cover is not runningSiri Hansen
ct_slave, ct_test_support and test_server_test_lib always called cover:flush/1 when stopping slave nodes. If cover was not running, this would cause cover_server to be started and thus test_server:is_cover/0 to return true afterwards. This has been corrected.
2012-10-30[common_test] Don't stop cover before stopping slave nodeSiri Hansen
In order to avoid crash of processes that hold old code, cover is no longer stopped before slave nodes are stopped. Instead cover:flush is used which only fetches cover data from the slave. This, along with similar changes in test_server allows all common_test modules to be included in cover analysis.
2012-05-15Implement support for returning valid exit status from ct_runPeter Andersson
Also change the return value of the ct:run_test/1 function. OTP-9865 OTP-10087
2012-03-30Update copyright yearsBjörn-Egil Dahlberg
2012-03-26Increase test margin for user timetrapsPeter Andersson
2012-03-26Merge remote branch 'origin/peppe/common_test/otp-9988_9871.merged' into maintPeter Andersson
* origin/peppe/common_test/otp-9988_9871.merged: Fix various problems with the user timetrap implementation Fix dialyzer reported errors Implement support for user controlled timetraps OTP-9988
2012-03-21Update ct_master to use the Common Test CSS file for the logsPeter Andersson
OTP-9973
2012-03-21Implement support for user controlled timetrapsPeter Andersson
OTP-9988
2011-09-30Merge remote branch 'origin/peppe/common_test/r14b04_tickets.fix' into devPeter Andersson
* origin/peppe/common_test/r14b04_tickets.fix: (35 commits) Create temporary fix for problem with parallel test cases Correct "Missing Suites" link Add documentation on timetraps and start flags Add missing tests for timetrap handling and fix remaining errors Solve problem with ct_init/end_per_group being counted as test cases Fix errors in test suites Fix invalid call to undefined function Fix problem with test_server_ctrl creating invalid conf test Improve info in CT framework log Update vsn.mk for common_test and test_server Enhance logging performance Change order of include files Add link to last executed test suite on index page Fix problem with location value when init config func calls help func Fix crash when CTHook init fails Correct error in test suite Fix error with incorrect notification after end_per_testcase craches Fix problem with error message not being printed correctly Add cases to check test case status versus end_per_testcase failure Fix incorrect call to end_tc when tc_status=ok and end_per_testcase times out ... OTP-9600 OTP-9593 OTP-9592 OTP-9585 OTP-9584 OTP-9575 OTP-9520 OTP-9518 OTP-9501 OTP-9429 OTP-9398 OTP-9397 OTP-9396 OTP-9379 OTP-9372 OTP-9371 OTP-9370 OTP-9369 OTP-9311 OTP-9237 OTP-9155 OTP-8933
2011-09-29Extend slave start timeout for windows testsLukas Larsson
2011-09-23Change order of include filesPeter Andersson
2011-05-20Update copyright yearsBjörn-Egil Dahlberg
2011-04-28Improve validation of test events.Peter Andersson
2011-04-28Fix failing tests on Windows.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-20Do minor updates of the ts test framework.Peter Andersson
2010-12-10Update test support so that if common test fails to be stopped in a suite, ↵Lukas Larsson
the ct node is restarted and the test case fails
2010-12-09Add tests for SCB's with same id and fixed bug relating to itLukas Larsson
2010-12-08Add testcase for config updatesLukas Larsson
2010-12-08Add possibility to use '_' and '$proplist' anywhere in a event specLukas Larsson
2010-12-03Merge branch 'lukas/common_test/extend_timeout_for_win' into devLukas Larsson
* lukas/common_test/extend_timeout_for_win: Update the support init_per_suite to extend the timeout for starting a slave node on windows.
2010-12-03Fix bug in verification where a tc_done/start event which was generated ↵Lukas Larsson
inbetween a tc_start and tc_done of a init_per_group could caused the validation to fail
2010-12-03Update the support init_per_suite to extend the timeout for starting a slave ↵Lukas Larsson
node on windows.
2010-07-06Improve handling of test case group specificationsPeter Andersson
2010-07-06Implement handling of group specificationsPeter Andersson
It's possible now to specify execution of test case groups (and test cases within groups) by means of run_test options and test specification terms. From test specifications, groups (and test cases) may also be skipped. ct_run has been improved to report errors better. New test suites have been introduced.
2010-06-11Merge branch 'peppe/common_test_r14_dev_2' into devErlang/OTP
* peppe/common_test_r14_dev_2: Misc documentation updates Add documentation for run_test program Step vsn for test_server to 3.4 Make {repeat*,N} property in group execute the group N times exactly Fix so that ct_run converts relative diretories in the code path to absolute Fix bug in handling framework:end_tc timeouts Fix bug that prevents the interactive shell mode to start properly Fix failing multiply timetrap test case Minor fixes in code and test suites Add support for executing pre-loaded suites (e.g. modules loaded as binaries) Add test suite for remote loading of binary suites Fix error with {repeat,0} property in groups causing double iterations Add support for config info functions (e.g. init_per_suite/0) Add support for dynamic timetrap handling Have end_per_testcase run even after timetrap_timeout and abort_testcase Flush old DOWN messages in demonitor Add groups in test specifications Add new tests for test case groups and test specifications Improve and fix various test suites Add event_handler_init start flag that can pass init arguments to event handlers ... OTP-8703 peppe/common_test_r14_dev_2
2010-06-09Minor fixes in code and test suitesPeter Andersson
2010-06-09Add test suite for remote loading of binary suitesPeter Andersson
2010-06-09Add support for dynamic timetrap handlingPeter Andersson
2010-06-09Improve and fix various test suitesPeter Andersson