Skip to content

[Bridge\PhpUnit] Missing failure trace #25090

@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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy