aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src/ct_config.erl
AgeCommit message (Collapse)Author
2017-06-19Update copyright yearHans Nilsson
2017-06-16[ct] Print unicode atoms and strings correctly in common_test logsSiri Hansen
And use correct encoding when printing to files.
2016-06-07ct_config: Fix unmatched_return warningsZandra
2016-03-15update copyright-yearHenrik Nord
2015-12-11Use 'rand' instead of the obsolete 'random' moduleBjörn Gustavsson
In most cases, we don't have to seed the random number generator, as the rand:uniform/1 takes care about that itself.
2015-06-18Change license text to APLv2Bruce Yinhe
2015-03-20Replace all calls to now/0 in CT with new time API functionsPeter Andersson
2013-05-29Fix faulty connection handlingPeter Andersson
OTP-10126
2013-05-20common_test: Replace use of deprecated crypto functionsBjörn Gustavsson
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-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.
2013-01-24Add tests and correct errorsPeter Andersson
OTP-9881
2012-11-19Fix problem with config start option not accepting list of filesPeter Andersson
OTP-10495
2012-11-09Fix bug where require of same name at same config would return name in useLukas Larsson
2012-08-31Update copyright yearsBjörn-Egil Dahlberg
2012-08-27Merge branch 'lukas/common_test/deep_get_config/OTP-9626' into maintLukas Larsson
* lukas/common_test/deep_get_config/OTP-9626: Add more cross reference links to ct docs Remove config option from common_test args Update user config to use nested tuple keys
2012-08-23Update user config to use nested tuple keysLukas Larsson
ct:get_config and ct:require can now use nested tuples to fetch data from user configuration. E.g. ct:get_config({localhost,ip,v4}). This introduces a backwards incompatability with how names are associated with keys when using require/2. E.g. ct:require(a_name,{localhost,ip}) will associate a_name with ip instead of localhost.
2012-07-13Implement verbosity levels and parameter for log printout importancePeter Andersson
2011-12-09Update copyright yearsBjörn-Egil Dahlberg
2011-09-23Various corrections and updates to improve error handling and reportingPeter Andersson
OTP-8933
2010-09-10OTP-8818: Fixed inconsistency in ct:start_interactive callLukas Larsson
2010-06-09Add support for dynamic timetrap handlingPeter Andersson
2010-06-09Flush old DOWN messages in demonitorPeter Andersson
2010-06-09Add event_handler_init start flag that can pass init arguments to event handlersPeter Andersson
Also changed: The userconfig option in ct:run_test/1 from 3-tuple to 2-tuple.
2010-06-09Make it possible to run ts tests for Common Test via the ↵Peter Andersson
ct_run:script_start() interface The possibility to pass start arguments to ct_run:start_script/0 by means of an application environment variable has been implemented. This will be used by ct_test_support for automatic testing of all common_test start interfaces.
2010-06-09Add run_test program for Common TestPeter Andersson
Common Test may now be started with the program run_test instead of the legacy shell script with the same name. Minor updates have also been made to the Webtool application.
2010-06-09Add support for user_config in ct_masterAndrey Pampukha
2010-06-09Bug fix: ["config.txt"] /= "config.txt"Andrey Pampukha
2010-06-09Add functions for adding and removing config handlersAndrey Pampukha
This is a draft version.
2010-06-09Replace own has_element/2 with lists:config/2Andrey Pampukha
2010-06-09Fix problem with disappearing variables and aliasesAndrey Pampukha
2010-06-09Changed return value tags for config file handlingAndrey Pampukha
Return value tags modified and various documentation updates made (work in progress).
2010-06-09Add tests for test specificationsAndrey Pampukha
2010-06-09Add test suites for configurationAndrey Pampukha
2010-06-09Fix problems with test specificationsAndrey Pampukha
Work in progress...
2010-06-09Allow callbacks to take any list as parameterAndrey Pampukha
2010-06-09Implement reloading of the config dataAndrey Pampukha
2010-06-09Remove configuration handling from ct_util completelyAndrey Pampukha
2010-06-09Add support for user config in common_testAndrey Pampukha
Added: 1. ct_config, ct_config_plain and ct_config_xml modules. 2. support for {userconfig, {Callback, ConfigFiles}} parameter to ct:run_test/1 3. support for "-userconfig Callback ConfigFiles and OtherCallback ConfigFiles" parameter to the run_test script