bitwizeshift / oxtest

🚧 A WIP rust unit-testing library
https://bitwizeshift.github.io/neotest
Apache License 2.0
0 stars 0 forks source link

Support attributes in subtests #14

Open bitwizeshift opened 1 year ago

bitwizeshift commented 1 year ago

The current mechanism for subtests simply acts as a series of statements defined in a subtest! { ... } macro. Although this functionally works, it suffers the significant drawback that it is unable to have custom attributes specified -- such as #[should_panic]or#[ignore]`, which are needed for testing.

It's unclear what the best direction forward for this is. A couple thoughts come to mind:

The exact approach is yet to be determined.