src/TestSuite.php
/**
     * Runs the test suite.
     *
     * @since 1.0.0
     *
     * @param HttpClientInterface $httpClient The HTTP client.
     * @param callable|null       $callback   An optional callback method to call after each assert. The method takes a AssertResultInterface as a parameter.
     *
     * @return TestSuiteResultInterface The result.
     */
Runs the test suite.

@param HttpClientInterface $httpClient The HTTP client.
@param callable|null       $callback   An optional callback method to call after each assert. The method takes a AssertResultInterface as a parameter.

@return TestSuiteResultInterface The result.
Runs the test suite . @param HttpClientInterface $httpClient The HTTP client . @param callable|null $callback An optional callback method to call after each assert . The method takes a AssertResultInterface as a parameter . @return TestSuiteResultInterface The result .
public function run(HttpClientInterface $httpClient, ?callable $callback = null): TestSuiteResultInterface
    {
        $testCaseResults = [];
        foreach ($this->testCases as $testCase) {
            $testCaseResults[] = $testCase->run($httpClient, $callback);
        }
        return new TestSuiteResult($this, $testCaseResults);
    }
public function run ( HttpClientInterface $ httpClient , ? callable $ callback = null ) : TestSuiteResultInterface { $ testCaseResults = [ ] ; foreach ( $ this -> testCases as $ testCase ) { $ testCaseResults [ ] = $ testCase -> run ( $ httpClient , $ callback ) ; } return new TestSuiteResult ( $ this , $ testCaseResults ) ; }
Runs the test suite.
Runs the test suite .