Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Bridge\PhpUnit] Missing failure trace #25090

Copy link
Copy link
Closed
@kbond

Description

@kbond
Issue body actions
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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.