When a functional test contains a failing test with assertEquals or assertSame, PHPUnit is unable to parse the output.
Shown Error:
ErrorException: Use of undefined constant PATH_typo3conf - assumed 'PATH_typo3conf' in /home/travis/build/derhansen/TYPO3-testing-framework/.Build/vendor/phpunit/phpunit/src/Util/PHP.php:298
How to reproduce:
1) Add the following test to the functional test suite
/**
* @test
*/
public function failingTestWithAssertSame()
{
$this->assertSame('test1', 'test2');
}
When a functional test contains a failing test with
assertEquals
orassertSame
, PHPUnit is unable to parse the output.Shown Error:
How to reproduce:
1) Add the following test to the functional test suite
2) Push changes and let Travis CI build
See: https://travis-ci.org/derhansen/TYPO3-testing-framework/jobs/222008133