PhpBench\Tests\Unit\Extension\CoreExtensionTest::testTravisLogger PHP Method

testTravisLogger() public method

It should automatically switch to the travis logger if the CONTINUOUS_INTEGRATION environment variable is set.
public testTravisLogger ( )
    public function testTravisLogger()
    {
        putenv('CONTINUOUS_INTEGRATION=1');
        $container = new Container(['PhpBench\\Extension\\CoreExtension'], ['path' => 'hello', 'config_path' => '/path/to/phpbench.json']);
        $container->init();
        $this->assertEquals('travis', $container->getParameter('progress'));
    }