Skip to main content

collect_tests

Function collect_tests 

Source
fn collect_tests(
    workspace: &Path,
    out: &Path,
    agent: usize,
    rejected: &mut Vec<Rejected>,
) -> Result<Vec<TestFile>>
Expand description

Returns the Solidity files under the output directory out of a workspace, by path relative to the workspace, in path order. Links are not followed, and out itself must not be one. A file whose path has a glob character is rejected: Forge selects the files to run by a glob.