-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
I'm using laravel 5.1 and homestead 2 and having the following issue:
If I run each test individually the test passes or fail with a error message as expected:
$ phpunit tests/API/CustomerTest.php --filter GetCustomer
PHPUnit 5.6.1 by Sebastian Bergmann and contributors.
. 1 / 1 (100%)
Time: 2.06 seconds, Memory: 29.50MB
OK (1 test, 15 assertions)
but if I run a test suite with more then one test, phpunit exits suddenly with no message:
$ phpunit tests/API/CustomerTest.php --debug
PHPUnit 5.6.1 by Sebastian Bergmann and contributors.
Starting test 'Tests\API\CustomerTest::testGetCustomer'.
.
Starting test 'Tests\API\CustomerTest::testCustomerGetOrder'.
$
It does not matter which test, if I comment out the one phpunit stopped at it stops in the next one:
$ phpunit tests/API/CustomerTest.php --debug
PHPUnit 5.6.1 by Sebastian Bergmann and contributors.
Starting test 'Tests\API\CustomerTest::testGetCustomer'.
.
Starting test 'Tests\API\CustomerTest::testCustomerSubcriptions'.
$
If I comment out the whole file, it goes to the next one and dies in the same way:
$ phpunit --debug
PHPUnit 5.6.1 by Sebastian Bergmann and contributors.
Starting test 'Tests\API\CartTest::testShoppingCart'.
.
Starting test 'Warning'.
W
Starting test 'Tests\API\OrderTest::testOrder'.
$
Metadata
Metadata
Assignees
Labels
No labels