Eris\ExampleEnd2EndTest::testLimitToTest PHP Method

testLimitToTest() public method

public testLimitToTest ( )
    public function testLimitToTest()
    {
        $this->runExample('LimitToTest.php');
        $this->assertTestsAreFailing(0);
        $this->assertEquals(5, (string) $this->theTest('testNumberOfIterationsCanBeConfigured')->attributes()['assertions'], "We configured a small number of iterations for this test, but a different number were performed");
        $this->assertLessThan(100, (string) $this->theTest('testTimeIntervalToRunForCanBeConfiguredAndAVeryLowNumberOfIterationsCanBeIgnored')->attributes()['assertions'], "We configured a small time limit for this test, but still all iterations were performed");
    }