Skip to main content

run_test_from_project

Function run_test_from_project 

Source
pub fn run_test_from_project(
    env: Env,
    project_path: String,
    top: String,
    options: Option<NapiOptions>,
    components: Option<Vec<NapiInjectedComponent>>,
) -> Result<NapiTestResult>
Expand description

Run a native testbench from a Veryl project directory.

Searches upward from project_path for Veryl.toml, gathers all .veryl source files, and runs the #[test] module specified by top.