8000 [Bridge\PhpUnit] Missing failure trace · Issue #25090 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
[Bridge\PhpUnit] Missing failure trace #25090
Closed
@kbond

Description

@kbond
Q A
Bug report? yes
Feature request? no
BC Break report? yes
RFC? no
Symfony version 3.4.0-RC1

Using symfony-standard with both symfony/symfony and symfony/phpunit-bridge at BETA4, running phpunit with a failing test looks like this:

PHPUnit 6.4.4 by Sebastian Bergmann and contributors.

F                                                                   1 / 1 (100%)

Time: 337 ms, Memory: 28.00MB

There was 1 failure:

1) Tests\AppBundle\Controller\DefaultControllerTest::testIndex
Failed asserting that 200 matches expected 201.

/.../tests/AppBundle/Controller/DefaultControllerTest.php:15

FAILURES!
Tests: 1, Assertions: 1, Failures: 1.

After upgrading to RC1, I get the following output:

PHPUnit 6.4.4 by Sebastian Bergmann and contributors.

F                                                                   1 / 1 (100%)

Time: 345 ms, Memory: 28.00MB

There was 1 failure:

1) Tests\AppBundle\Controller\DefaultControllerTest::testIndex
Failed asserting that 200 matches expected 201.

FAILURES!
Tests: 1, Assertions: 1, Failures: 1.

Notice the file and line number is missing. If I remove symfony/phpunit-bridge I see the file/line number as expected.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0