Struct conformer::TestCaseResults [−][src]
pub struct TestCaseResults { /* fields omitted */ }
The results of all of the test cases in the test suite that was run.
Implementations
impl TestCaseResults
[src]
impl TestCaseResults
[src]pub fn new(
suite_title: String,
suite_description: String,
results: Vec<TestCaseResult>
) -> Self
[src]
pub fn new(
suite_title: String,
suite_description: String,
results: Vec<TestCaseResult>
) -> Self
[src]Panics
Panics if there are no test case results in order to catch cases where one accidentally filters out all tests.
pub fn suite_title(&self) -> &String
[src]
pub fn suite_title(&self) -> &String
[src]The test suite’s title.
pub fn suite_description(&self) -> &String
[src]
pub fn suite_description(&self) -> &String
[src]The test suite’s description.
pub fn results(&self) -> &Vec<TestCaseResult>
[src]
pub fn results(&self) -> &Vec<TestCaseResult>
[src]The results of running all of the test cases.
pub fn assert_did_pass(&self)
[src]
pub fn assert_did_pass(&self)
[src]Panics
Panics if one or more test cases failed.