PhpBench\Tests\Unit\Progress\Logger\BlinkenLoggerTest::testIterationEndStats PHP Method

testIterationEndStats() public method

It should show statistics when an iteration is completed (and there were no rejections).
    public function testIterationEndStats()
    {
        foreach ($this->variant as $iteration) {
            foreach (TestUtil::createResults(10, 10) as $result) {
                $iteration->setResult($result);
            }
        }
        $this->variant->computeStats();
        $this->logger->variantEnd($this->variant);
        $this->assertContains('RSD/r: 0.00%', $this->output->fetch());
    }