Eris\ExampleEnd2EndTest::testWhenTests PHP Метод

testWhenTests() публичный Метод

public testWhenTests ( )
    public function testWhenTests()
    {
        $this->runExample('WhenTest.php');
        $this->assertTestsAreFailing(2);
        $this->assertRegExp("/should be less or equal to 100, but/", (string) $this->theTest('testWhenFailingWillNaturallyHaveALowEvaluationRatioSoWeDontWantThatErrorToObscureTheTrueOne')->failure);
        $this->assertRegExp("/Evaluation ratio .* is under the threshold/", (string) $this->theTest('testWhenWhichSkipsTooManyValues')->error);
    }