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-err
andsystem-out
are now independent of the test case result- Add
set_trace
function to add detailed trace to error or failure cases.
- Update dependencies
- Re-export
quick_xml::Error
asjunit_report::Error
- Remove unsecure dev dependency from
failure
- Bump Rust edition to 2021
- Switch from
xml-rs
toquick-xml
due to maintenance status- Change
Err
type ofReport::write_xml()
- Remove indentations and newlines from the generated
Report
- Change
- Added support for an optional
file
attribute in test cases
- Switch from
chrono
totime
- Switch timestamp formatting (still compliant with both
RFC3339
andISO8601
)
- 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
TestResult
struct by one more variant.
- Make Error Type public
- Output format compatible with GitLab and Jenkins.
system_out
andsystem_err
fields 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.
classname
attribute 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-out
andsystem-err
to conform to new schema - Don't add an empty optional properties tag
- Add functions to add testcases and testsuites from a Vec
- Initial Release