#directory #proc-macro #testing #test-macro #documentation #test-specific #target-test-dir

macro target-test-dir-macro

A proc-macro attribute implementation for providing test-specific directories (use target-test-dir)

2 unstable releases

0.3.0 Apr 13, 2023
0.2.0 Nov 6, 2022

#32 in #test-macro

Download history 6/week @ 2024-02-09 11/week @ 2024-02-16 22/week @ 2024-02-23 16/week @ 2024-03-01 17/week @ 2024-03-08 11/week @ 2024-03-15 8/week @ 2024-03-22

54 downloads per month
Used in 3 crates (via target-test-dir)

Custom license

7KB
142 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:

The macro implementation for target-test-dir

Use the target-test-dir crate rather than this, which has runtime support as well as complete docs.

Dependencies

~315–770KB
~18K SLoC