summaryrefslogtreecommitdiff
path: root/lib/common_test/doc/src/ct_hooks_chapter.xml
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright yearErlang/OTP2023-02-141-1/+1
|
* Fix example code in ct_hooks_chapter.xmlFabian Bergström2022-12-281-112/+91
| | | | | | | | | | | | | The example code has a syntax error (missing a period), and uses the deprecated erlang:now/0 function. * prefix unused variable names with _ * use a more minimal example * move file:open to terminate * 'suite_total' and 'total' were mixed up * put complete CT hook example in erlang-skels.el * fix indentation for the example CTH code * remove some spaces and align to 80 chars rule
* Merge branch 'maint'Rickard Green2021-12-131-1/+1
|\ | | | | | | | | * maint: Update copyright year
| * Update copyright yearRickard Green2021-12-131-1/+1
| |
* | Fix typos in lib/common_testKian-Meng, Ang2021-12-051-2/+2
|/
* Fix broken doc. linksPaulo F. Oliveira2020-10-211-18/+18
|
* otp: Convert all <seealso> to more specific variantsLukas Larsson2020-03-271-57/+57
| | | | | | | | | | | | We add `seemfa`, `seeerl`, `seetype`, `seeapp`, `seecom`, `seecref` , `seefile` and `seeguide` in order to make it easier to reason about what each link points to without examining the target. This information will then be embedded in the EEP-48 chunks for usage by other tools. The tool used can be found here: https://gist.github.com/garazdawi/68527d92ae5b37c8f129bfbdfffdfa68
* otp: Change all MFA links to use "/" syntax for arityLukas Larsson2020-03-201-36/+36
|
* ct: Change cth_log_redirect to use default logger formatter and levelLukas Larsson2019-10-171-7/+7
| | | | | This makes it possible for the user to configure the logger in a greater extent and make it look more like the user wants.
* common_test: Remove EDoc comments in internal modulesHans Bolinder2018-06-071-18/+18
|
* Improve documentation of logger and error_loggerSiri Hansen2018-05-231-4/+5
|
* Update copyright yearRaimo Niskanen2017-05-041-1/+1
|
* [ct] Add Suite argument to hook callback functionsSiri Hansen2017-02-201-36/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | An extra argument, Suite, is added as the first argument to each of the following hook callback functions: - pre_init_per_group - post_init_per_group - pre_end_per_group - post_end_per_group - pre_init_per_testcase - post_init_per_testcase - pre_end_per_testcase - post_end_per_testcase - on_tc_fail - on_tc_skip For backwards compatibility, if the new function is not exported from a hook callback module, common_test will fall back to the old interface and call the function without the Suite argument. The reason for adding the new argument is that if a test suite is skipped by a 'skip_suites' statement in the test specification, then there will be no call to pre/post_init_per_suite, and thus the hook has no other way of knowing which Suite is skipped when it gets the on_tc_skip callback. The other callbacks are updated for symmetry.
* doc: Correct errors introduced by Editorial changesHans Bolinder2016-09-011-4/+4
| | | | Fix some older errors as well.
* update copyright-yearHenrik Nord2016-03-151-1/+1
|
* Merge branch 'siri/common_test/fix-doc-links' into maintSiri Hansen2016-03-101-8/+8
|\ | | | | | | | | | | | | | | | | | | * siri/common_test/fix-doc-links: Fix link errors in common_test documentation Document that any ssh option is allowed in ct_netconfc Conflicts: lib/common_test/doc/src/ct_hooks_chapter.xml lib/common_test/doc/src/ct_netconfc.xml
| * Fix link errors in common_test documentationSiri Hansen2016-03-101-8/+8
| | | | | | | | | | These were introduced when converting from edoc to xml files for the common_test documentation.
* | Document new CT Hook functionsPeter Andersson2016-03-091-11/+23
|/
* Common Test: Editorial changes 1tmanevik2016-03-091-333/+346
| | | | | | | Conflicts: lib/common_test/doc/src/ct_hooks_chapter.xml lib/common_test/doc/src/event_handler_chapter.xml lib/common_test/doc/src/run_test_chapter.xml
* [common_test] Correct documentationHans Bolinder2015-12-091-10/+10
| | | | Fix mistakes found by 'xmllint'.
* Change license text to APLv2Bruce Yinhe2015-06-181-10/+11
|
* Add misc documentationPeter Andersson2013-09-111-0/+28
|
* Corrections so that the documentation confirms to the DTDKenneth Lundin2013-08-291-6/+6
|
* Fix some FOP warningsHans Bolinder2013-01-091-13/+14
| | | | | | | Examples overflowing the width of PDF pages have been fixed. The remaining warnings are due to table cells, and require more work.
* [common_test] Add documentation of new url_base option to cth_surefireSiri Hansen2012-12-121-5/+19
|
* Document that CTHs can get fail/skip as ConfigLukas Larsson2012-08-301-0/+7
| | | | OTP-10077
* Add more cross reference links to ct docsLukas Larsson2012-08-231-2/+2
|
* Fix close of suite when end_per_suite is skippedLukas Larsson2012-05-081-1/+1
|
* Update copyright yearsBjörn-Egil Dahlberg2012-03-301-1/+1
|
* Update documentationPeter Andersson2012-03-291-5/+23
| | | | | | | | | | | OTP-9972 OTP-9659 OTP-9855 OTP-9880 OTP-9973 OTP-9986 OTP-9992 OTP-9935
* Add the surefire ct hookLukas Larsson2012-03-201-0/+10
| | | | | The hook should work with modern versions of Jenkins CI to gather test results.
* Reverse hook order for *_end_per_* hooksLukas Larsson2011-11-291-2/+3
|
* Merge branch 'lukas/common_test/make_cth_non_alpha/OTP-9449'Björn-Egil Dahlberg2011-11-181-5/+0
|\ | | | | | | | | * lukas/common_test/make_cth_non_alpha/OTP-9449: Remove alpha notice since CTH are now final
| * Remove alpha notice since CTH are now finalLukas Larsson2011-08-021-5/+0
| |
* | Add documentation for cth_log_redirect and built-in hooksLukas Larsson2011-09-201-0/+32
| | | | | | | | OTP-9564
* | Update to reflect addition of CTH priority additionLukas Larsson2011-08-311-4/+15
|/
* Rename Suite Callback to Common Test hook in documentationLukas Larsson2011-02-171-0/+401