#rstest #logging #testing #case #rstest-log

rstest-log

A wrapper around the test_log crate that supports rstest

3 unstable releases

new 0.2.0 May 9, 2025
0.1.1 May 9, 2025
0.1.0 May 9, 2025

#5 in #rstest

MIT license

11KB

rstest-log

Wrapper for the test_log crate to support rstest.

Usage

use rstest_log::rstest;

#[rstest(tokio::test)]
#[case(1)]
#[case(2)]
async fn test(#[case] val: i64) {
    assert_eq!(val, val);
}

Dependencies

~200–630KB
~15K SLoC