#report #json

ctrf-rs

A reporter for Common Test Report Format (CTRF) in Rust

1 unstable release

new 0.1.0 May 20, 2025

#354 in Testing

MIT license

40KB
972 lines

Rust CTRF Reporter

An implementation of the Common Test Report Format in Rust.

Defines the CTRF JSON schema within Rust and leverages serde/serde_json to convert to/from JSON files. See the CTRF Specification for more information on data types and organization.

Usage

This reporter is intended to be built into your Rust crate (bin or lib) via cargo. Add this crate using the command:

cargo add ctrf-rs

Acknowledgement

Shoutout/kudos/🤘 to the originator of CTRF, Matthew Thomas!

Dependencies

~1–1.8MB
~38K SLoC