Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No stacktrace in 9.5.x? #4592

Closed
temp opened this issue Jan 26, 2021 · 1 comment
Closed

No stacktrace in 9.5.x? #4592

temp opened this issue Jan 26, 2021 · 1 comment
Labels
type/bug Something is broken

Comments

@temp
Copy link

temp commented Jan 26, 2021

Was there a change in the handling of errors in phpunit 9.5.x?
In 9.4.4 I get the following output:

$ php phpunit-9.4.4.phar
PHPUnit 9.4.4 by Sebastian Bergmann and contributors.

...............................................................  63 / 148 ( 42%)
............................................................... 126 / 148 ( 85%)
...E..................                                          148 / 148 (100%)

Time: 00:00.025, Memory: 26.00 MB

There was 1 error:

1) FncTests\Unit\TailTest::testTail
Exception: foo

/Users/swentz/git/temp/fn/src/functions.php:1100
/Users/swentz/git/temp/fn/tests/Unit/TailTest.php:19

ERRORS!
Tests: 148, Assertions: 202, Errors: 1.

While in phpunit 9.5.2 this looks like this:

$ php phpunit-9.5.2.phar
PHPUnit 9.5.1 by Sebastian Bergmann and contributors.

...............................................................  63 / 148 ( 42%)
............................................................... 126 / 148 ( 85%)
...E..................                                          148 / 148 (100%)

Time: 00:00.022, Memory: 26.00 MB

There was 1 error:

1) FncTests\Unit\TailTest::testTail
Exception: foo

ERRORS!
Tests: 148, Assertions: 202, Errors: 1.

The stack trace is missing. I didn't find anything related in the changelogs.
Is this behaviour expected, or is there something missing on my side?

@temp temp added the type/bug Something is broken label Jan 26, 2021
@sebastianbergmann
Copy link
Owner

Duplicate of #4573.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something is broken
Projects
None yet
Development

No branches or pull requests

2 participants