test-format

Crates.iotest-format
lib.rstest-format
version0.1.1
sourcesrc
created_at2024-07-01 13:17:28.181021
updated_at2024-07-09 10:27:43.278779
descriptionProvides the assert_debug_fmt and assert_display_fmt macros for testing Debug (or Display) implementations on no_std
homepagehttps://github.com/sunsided/test-format
repositoryhttps://github.com/sunsided/test-format
max_upload_size
id1288715
size43,821
Markus Mayer (sunsided)

documentation

README

Test Debug and Display implementations (with no_std)

Crates.io Docs Build Status Safety Dance codecov MSRV EUPL 1.2 licensed Apache 2.0 licensed MIT licensed

Test Debug and Display implementations on no_std targets viaassert_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:

Commit count: 15

cargo fmt