This changeset implements the following features and bug fixes (as well as rewords the documentation appropriately):
(bugfix) Report one test (instead of zero) in cases of an empty output from yamllint, as reporting a total number of testcases in the testsuite that differs from the the total number of testcase XML objects is invalid JUnit.
(bugfix) Running in verbose mode under Python 3.x would result in output written to stdout that was not parsable as XML due to the addition of the b' prefix and single quote suffix. This patchset changes the behavior to write the raw XML data to stdout without performing any string formatting.
(compatibility improvement) Some JUnit parsers require a 'name' attribute be added to the testsuite. This is now defined with the default value of 'yamllint' but may be overridden via the use of the --test-name CLI argument.
This changeset implements the following features and bug fixes (as well as rewords the documentation appropriately):
(bugfix) Report one test (instead of zero) in cases of an empty output from yamllint, as reporting a total number of testcases in the testsuite that differs from the the total number of testcase XML objects is invalid JUnit.
(bugfix) Running in verbose mode under Python 3.x would result in output written to stdout that was not parsable as XML due to the addition of the
b'
prefix and single quote suffix. This patchset changes the behavior to write the raw XML data to stdout without performing any string formatting.(compatibility improvement) Some JUnit parsers require a 'name' attribute be added to the testsuite. This is now defined with the default value of 'yamllint' but may be overridden via the use of the --test-name CLI argument.