<?php

namespace Qafoo\ChangeTrack;

/**
 * @group regression
 */
class AnalyzerRegressionTest extends \PHPUnit_Framework_TestCase
{
    public function setUp()
    {
        `rm -rf src/var/tmp`;
        `mkdir src/var/tmp`;
    }

    public function tearDown()
    {
        unlink('test/temp_result.xml');
    }

    public function testAnalyzerRegressionDaemonRepository()
    {
        `src/bin/track analyze -o test/temp_result.xml  https://github.com/QafooLabs/Daemon.git`;

        $this->assertXmlFileEqualsXmlFile(
            __DIR__ . '/../../_fixtures/regression_analysis_daemon.xml',
            'test/temp_result.xml'
        );
    }
}

<?php

namespace Qafoo\ChangeTrack;

/**
 * @group regression
 */
class AnalyzerRegressionTest extends \PHPUnit_Framework_TestCase
{
    public function setUp()
    {
        `rm -rf src/var/tmp`;
        `mkdir src/var/tmp`;
    }

    public function tearDown()
    {
        unlink('test/temp_result.xml');
    }

    public function testAnalyzerRegressionDaemonRepository()
    {
        `src/bin/track analyze -o test/temp_result.xml -v https://github.com/QafooLabs/Daemon.git`;

        $this->assertXmlFileEqualsXmlFile(
            __DIR__ . '/../../_fixtures/regression_analysis_daemon.xml',
            'test/temp_result.xml'
        );
    }
}

Make regression test return verbose output for debugging.
Fixed: Make regression test return verbose output for debugging.
