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.