aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src
AgeCommit message (Collapse)Author
2011-08-31Fix a couple of minor bugs with hook priorityLukas Larsson
The bugs caused the sorting priority to be wrong when using installed priority and built in priority. Tests to prove the order of hooks to be correct have also been added.
2011-08-31Update CTH priority default to be 0Lukas Larsson
2011-08-31Update the return from init/2 to be {ok, NewState} or {ok,NewState,Priority} ↵Lukas Larsson
instead of NewState. NewState can still be returned, but is only kept for backward compatability reasons.
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-08-31Update internal hooks state to use a record instead of tuplesLukas Larsson
2011-08-29Merge branch 'rz/add_proplist_type' into devHenrik Nord
* rz/add_proplist_type: Add a proplist() type OTP-9499
2011-05-24Add a proplist() typerzezeski
Recently I was adding specs to an API and found that there is no canonical proplist() type defined.
2011-05-20Update copyright yearsBjörn-Egil Dahlberg
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-05-06Merge branch 'lukas/common_test/ct_hook_bugs/OTP-9264' into devLukas Larsson
* lukas/common_test/ct_hook_bugs/OTP-9264: Fix bug which would make cth's to not be removed when out of scope when adding a cth in suite/0 and crashing in pre_init_per_suite.
2011-04-28Fix error in vts mode, making it impossible to execute suites with test case ↵Peter Andersson
groups.
2011-04-28Fix problems with timetrap handling in common_test:Peter Andersson
1. ct:timetrap(infinity) not supported. 2. Previous set timetrap for a test case is not cancelled by new one.
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
2011-03-22Fix bug which would make cth's to not be removed when out of scope when ↵Lukas Larsson
adding a cth in suite/0 and crashing in pre_init_per_suite.
2011-03-11Update copyright yearsBjörn-Egil Dahlberg
2011-03-10Merge branch 'lukas/common_test/suite_callback/OTP-8851' into devLukas Larsson
* lukas/common_test/suite_callback/OTP-8851: Update init_per_suite to not crash when there is no suite/0 Update links info in ct_hooks to point to the right place Update ct_hooks to fail gracefully when a hook is entered incorrectly in suite/0
2011-03-09Update init_per_suite to not crash when there is no suite/0Lukas Larsson
2011-02-28Merge branch 'lukas/common_test/test_order_wrong/OTP-9026' into devLukas Larsson
* lukas/common_test/test_order_wrong/OTP-9026: Add test event info for the old tests Update test spec parser to not group suites, groups and cases which are hierarchically related if merge_tests config i set to false Add test cases for test spec ordering of testcases in spec Conflicts: lib/common_test/test/ct_testspec_1_SUITE.erl
2011-02-21Update ct_hooks to fail gracefully when a hook is entered incorrectly in suite/0Lukas Larsson
2011-02-17Merge branch 'lukas/common_test/updates_needed_before_migration/OTP-8768' ↵Lukas Larsson
into dev * lukas/common_test/updates_needed_before_migration/OTP-8768: Update ts to take the config path as an invironmental and as a variables passed with all_tests and also with the normal run Update TEST_SERVER_FRAMEWORK os variable to be regarded as undet if set to undefined Fix bug with subgroups after introduction of remote groups Rename Suite Callback to Common Test Hook Update so that cover is skipper for applications without a .cover file Update minimal build target to include runtime_tools and common_test Update ts to start common test with both ts.config and ts.PLATFORM.config Update ts scb to add nodenames in all pre_init clauses Add release/tests/test_server to path Add ts_install_scb which is a common_test SCB that handles making of test modules. Update ts to work with common test instead of test_server Add kill_slavenodes/0 as an exported function Change format of remote groups to {group, Module, GroupName}, note that this is an unsupported feature Add possibility to get all testdata Fix bug when groups refer to groups in the groups/0 function Add support for external groups. Refactor code to make it easier to debug Update so that when asking for os and we are in the test_server_ctrl process, just use os:type(). Fix so that groups can return external test cases, i.e.
2011-02-17Cleanup code to fix dialyzer warningLukas Larsson
2011-02-17Rename Suite Callback to Common Test Hook in code and testcasesLukas Larsson
2011-02-17Fix bug where the state of an SCB was altered when no on_tc_* existedLukas Larsson
2011-02-17Update SCBs to use a specific id/1 function for SCb overriding instead of ↵Lukas Larsson
returning it from init/1.
2011-02-17Add documentation for SCBsLukas Larsson
2011-02-15Update test spec parser to not group suites, groups and cases which are ↵Lukas Larsson
hierarchically related if merge_tests config i set to false
2011-02-14Fix bug with subgroups after introduction of remote groupsLukas Larsson
2011-01-24Change format of remote groups to {group, Module, GroupName}, note that this ↵Lukas Larsson
is an unsupported feature
2011-01-24Add possibility to get all testdataLukas Larsson
2011-01-24Fix bug when groups refer to groups in the groups/0 functionLukas Larsson
2011-01-24Add support for external groups.Lukas Larsson
2011-01-24Refactor code to make it easier to debugLukas Larsson
2010-12-09Add tests for SCB's with same id and fixed bug relating to itLukas Larsson
2010-12-09Added tests for starting SCB's with arguments and fixed a bug with how SCB's ↵Lukas Larsson
are parsed from the command line
2010-12-08Add so that failures in SCB:init/1 causes the entire scb scope to failLukas Larsson
2010-12-08Fix bug which caused scb to be added too much when initiated in the suite ↵Lukas Larsson
info function
2010-12-08Add locking mechanism for scb state when using parallel groupsLukas Larsson
2010-12-08Update ct_framework calls to allow manipulation of test results in end_tc ↵Lukas Larsson
without breaking backwards compatability (I hope)
2010-12-08Update all post_*_per_* to also take the Config argument which the *_per_* ↵Lukas Larsson
was called with as an argument.
2010-12-08Add on_tc_fail and on_tc_skip functionalityLukas Larsson
2010-12-08Add special tagging for scb in order for event generation to be backward ↵Lukas Larsson
compatible
2010-12-08Update to be compatible with how common_test tests the ct frameworkLukas Larsson
2010-12-08Add scoping for suite and groupsLukas Larsson
2010-12-08Extend SCB error handling printoutsLukas Larsson
Update error behaviour so that a failing SCB callback results in a failing testcase
2010-12-08Add SCB error handling functionalityLukas Larsson
2010-12-08Move end_tc call to be made before the tc_done event is generatedLukas Larsson