Struct lit::Config [] [src]

pub struct Config {
    pub supported_file_extensions: Vec<String>,
    pub test_paths: Vec<PathBuf>,
}

The configuration of the test runner.

Fields

A list of file extensions which contain tests.

Paths to tests or folders containing tests.

Methods

impl Config
[src]

Marks a file extension as supported by the runner.

We only attempt to run tests for files within the extension whitelist.

Adds a search path to the test runner.

We will recurse through the path to find tests.

Checks if a given extension will have tests run on it

Trait Implementations

impl Clone for Config
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Config
[src]

Formats the value using the given formatter.

impl Default for Config
[src]

Returns the "default value" for a type. Read more