test-format 0.1.0

Provides the assert_debug_fmt and assert_display_fmt macros for testing Debug (or Display) implementations on no_std
Documentation

Test Format implementations

Build Status Safety Dance codecov MSRV EUPL 1.2 licensed Apache 2.0 licensed MIT licensed

Test Debug implementations on no_std targets, or Debug and Display on std via assert_debug_fmt! and assert_display_fmt! macros:

assert_debug_fmt!(your_type, "expected debug format output");
assert_display_fmt!(your_type, "expected display format output");

Requirements

  • Rust 1.64+

Code of Conduct

We abide by the Contributor Covenant and ask that you do as well.

License

Copyright © 2024 Markus Mayer

Triple licensed under your choice of either of: