Struct runt::executor::results::Test[][src]

pub struct Test {
    pub path: PathBuf,
    pub expect_path: PathBuf,
    pub state: State,
    pub saved: bool,
    pub test_suite: Id,
}
Expand description

Store information related to a test.

Fields

path: PathBuf

Path of the test

expect_path: PathBuf

Location of the expect string.

state: State

Result of comparison

saved: bool

The results of this structure were saved.

test_suite: Id

Id for the test suite that owns this test.

Implementations

Save the results of the test suite into the expect file.

Returns true if the current options require this test to be saved.

Returns true if this test should be printed with the current options.

Generate colorized string to report the results of this test.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.