#marker #helper #proc-macro #test

macro is_tested

Helper attribute for cargo-is-tested, along with is_not_tested

2 releases

0.1.1 Jan 1, 2023
0.1.0 Jan 1, 2023

#40 in #marker

MIT license

4KB

is_tested

This crate provides the attribute is_tested, this attribute won't convert your input to anything, it's just a marker for the cargo-is-tested binary.

The crate is supposed to be used with the cargo-is-tested. It is useless without the binary

Usage

use is_tested::is_tested;

#[is_tested(<path_to_my_function_tests.rs>)]
fn my_function() {
	// [...]
}

Dependencies

~1.5MB
~34K SLoC