#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

#35 in #test-macro

Download history 6/week @ 2024-02-10 14/week @ 2024-02-17 26/week @ 2024-02-24 10/week @ 2024-03-02 17/week @ 2024-03-09 11/week @ 2024-03-16 7/week @ 2024-03-23 28/week @ 2024-03-30 62/week @ 2024-04-06 3/week @ 2024-04-13 4/week @ 2024-04-20

97 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

~280–720KB
~17K SLoC