diff options
author | Siri Hansen <[email protected]> | 2012-11-13 14:12:41 +0100 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2012-12-12 17:20:31 +0100 |
commit | f309f03b406b9bc30abcc4daf3154e6475363c96 (patch) | |
tree | 65ab0f8b93b54d0d73e24d7aa037901cff5cf4a2 /lib/et | |
parent | 05f8e1029d5bfc102558c68264ee91757788885e (diff) | |
download | otp-f309f03b406b9bc30abcc4daf3154e6475363c96.tar.gz otp-f309f03b406b9bc30abcc4daf3154e6475363c96.tar.bz2 otp-f309f03b406b9bc30abcc4daf3154e6475363c96.zip |
[common_test] Fix cth_surefire
The following corrections/changes are done in the cth_surefire hook:
* Earlier there would always be a 'properties' element under the
'testsuites' element. This would exist even if there were now
'property' element inside it. This has been changed so if there are
no 'property' elements to display, then there will not be a
'properties' element either.
* The XML file will now (unless other is specified) be stored in the
top log directory. Earlier, the default directory would be the
current working directory for the erlang node, which would mostly,
but not always, be the top log directory.
* The 'hostname' attribute in the 'testsuite' element would earlier
never have the correct value. This has been corrected.
* The 'errors' attribute in the 'testsuite' element would earlier
display the number of failed testcases. This has been changed and
will now always have the value 0, while the 'failures' attribute
will show the number of failed testcases.
* A new attribute 'skipped' is added to the 'testsuite' element. This
will display the number of skipped testcases. These would earlier be
included in the number of failed test cases.
* The total number of tests displayed by the 'tests' attribute in the
'testsuite' element would earlier include init/end_per_suite and
init/end_per_group. This is no longer the case. The 'tests'
attribute will now only count "real" test cases.
* Earlier, auto skipped test cases would have no value in the 'log'
attribute. This is now corrected.
* A new attributes 'log' is added to the 'testsuite' element.
* A new option named 'url_base' is added for this hook. If this
option is used, a new attribute named 'url' will be added to the
'testcase' and 'testsuite' elements.
Tests are added for the ct_surefire hook.
Diffstat (limited to 'lib/et')
0 files changed, 0 insertions, 0 deletions