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

testIterationException() public method

It should show an error if the iteration has an exception.
    public function testIterationException()
    {
        $this->variant->setException(new \Exception('foo'));
        $this->logger->variantEnd($this->variant);
        $this->assertContains('ERROR', $this->output->fetch());
    }