testing_macros 0.2.14

General purpose testing macros
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#![deny(unused)]

use std::path::PathBuf;

use testing_macros::fixture;

#[fixture("tests/simple/*.ts")]
fn simple(_path: PathBuf) {}

#[fixture("tests/ignore/**/*.ts")]
fn ignored(_path: PathBuf) {}

#[fixture("tests/simple/**/*.ts")]
#[fixture("tests/simple/**/*.tsx")]
fn multiple(_path: PathBuf) {}

#[fixture("tests/simple/**/*", exclude(".*\\.tsx", ".*.d\\.ts"))]
fn exclude(_path: PathBuf) {}