/// Enumerate tests and then run all the test cases in the suite.
Enumerate tests and then run all the test cases in the suite.
Enumerate tests and then run all the test cases in the suite .
pub async fn run_and_collect_results(
        &self,
        sender: mpsc::Sender<TestEvent>,
        test_filter: Option<&str>,
        run_options: TestRunOptions,
    ) -> Result<(), anyhow::Error> {
        let invocations =
            self.enumerate_tests(&test_filter).await.context("Cannot enumerate tests")?;
        self.run_and_collect_results_for_invocations(sender, invocations, run_options).await
    }
pub async fn run_and_collect_results ( & self , sender : mpsc :: Sender < TestEvent > , test_filter : Option < & str > , run_options : TestRunOptions , ) -> Result < ( ) , anyhow :: Error > { let invocations = self . enumerate_tests ( & test_filter ) . await . context ( " " ) ? ; self . run_and_collect_results_for_invocations ( sender , invocations , run_options ) . await }
Enumerate tests and then run all the test cases in the suite.
Enumerate tests and then run all the test cases in the suite .
&self
sender
mpsc::Sender<TestEvent>
test_filter
Option<&str>
run_options
TestRunOptions