All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Remove strip-ansi-escapes dependencies
- Only enable required features for time
- Update dependencies
system-errandsystem-outare now independent of the test case result- Add
set_tracefunction to add detailed trace to error or failure cases.
- Update dependencies
- Re-export
quick_xml::Errorasjunit_report::Error
- Remove unsecure dev dependency from
failure
- Bump Rust edition to 2021
- Switch from
xml-rstoquick-xmldue to maintenance status- Change
Errtype ofReport::write_xml() - Remove indentations and newlines from the generated
Report
- Change
- Added support for an optional
fileattribute in test cases
- Switch from
chronototime - Switch timestamp formatting (still compliant with both
RFC3339andISO8601)
- Saparate builder types
- Seprate types for the data types and the builders. This restores the old data based API from 0.3.0 and moves the builder API as introduced in 0.4.0 to their own *Builder types.
- If you are migrating from 0.3.0 there should be no big changes required.
- If you migrate from 0.4.0 or 0.5.0 you need the following renames: Report -> ReportBuilder TestSuite -> TestSuiteBuilder TestCase -> TestCaseBuilder
- Support for skipped or ignored testcases
- Adding support for skipped and ignored testcases extends the
TestResultstruct by one more variant.
- Make Error Type public
- Output format compatible with GitLab and Jenkins.
system_outandsystem_errfields added
- Revamp the API to use the builder pattern. This makes the API more future proof and hopefully avoids breaking changes in the future when more optional fields are added.
- Change error type to no longer expose the internals of the XML processing.
classnameattribute is now supported
- Make sure all examples in the readme are run
- Update dependencies
- Testsuite id is now properly set even when using
add_testsuites - Unittests now work in Windows too
- Crate now uses the Rust 2018 edition
- The batch methods (
add_testsuites,add_testcases) now accept any iterators, not justVec - Durations are now decimals as per spec
- Change order to
system-outandsystem-errto conform to new schema - Don't add an empty optional properties tag
- Add functions to add testcases and testsuites from a Vec
- Initial Release