#test-report #report #json

ctrf-rs

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

2 unstable releases

0.2.0 Jan 19, 2026
0.1.0 May 20, 2025

#283 in Testing

Download history 1168/week @ 2025-10-28 696/week @ 2025-11-04 920/week @ 2025-11-11 1537/week @ 2025-11-18 824/week @ 2025-11-25 2066/week @ 2025-12-02 1204/week @ 2025-12-09 2002/week @ 2025-12-16 500/week @ 2025-12-23 231/week @ 2025-12-30 735/week @ 2026-01-06 1499/week @ 2026-01-13 1338/week @ 2026-01-20 626/week @ 2026-01-27 1662/week @ 2026-02-03 1889/week @ 2026-02-10

5,982 downloads per month
Used in 26 crates (via test-r-core)

MIT license

50KB
1K SLoC

Rust CTRF Reporter

A reporter for the Common Test Report Format in Rust.

Implements 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.

Developed by 🤚 with ❤️. No generative AI was used to create this code.

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

~0.8–1.7MB
~35K SLoC