2 releases
0.1.1 | Nov 5, 2022 |
---|---|
0.1.0 | Nov 5, 2022 |
#1942 in Procedural macros
9KB
149 lines
Target Test Directories
The target-test-dir
and target-test-dir-support
crates provide a convenient proc-macro with_test_dir
for tests which need a test-specific directory.
See the crate documentation for target-test-dir
for an example.
lib.rs
:
A support crate for the target-test-dir
crate
This crate provides [get_base_test_dir] which can be used independently of the proc macro, as well as [transform_test_with_dir] which implements the actual macro transformation.
Dependencies
~1.5MB
~34K SLoC