-
-
Notifications
You must be signed in to change notification settings - Fork 214
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
Debug mode and continuing on crash #66
Comments
I think "--functional" is what you expect for (2). |
@julianseeger Thanks for the reply. I thought about that and tried. But with and without -f, I get the following for a framework like assetic. Basically I crash at the 244th test or so.
|
Hey guys. My time to support paratest has definitely been limited, so I apologize for explanation rather than solution at the moment. Just to clarify on some of the phpunit configurations, paratest is pretty limited in what it can support at the moment. Some things just don't delegate to PHPUnit as nicely as we might hope. The functional switch [-f|--functional] switch works best for methods that have no external dependencies; it was originally designed to speed up selenium tests. |
Hi guys in Laravel 5.4 I installed paratest with composer but it crashes when I run my tests. Crash Log below Log file C:\Users\SomUserName\AppData\Local\Temp\PT_9E76.tmp is empty. This means a PHPUnit process has crashed. |
For
I added a |
This issue has gone two months without activity. In another two weeks, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you label it |
Hi, two questions about paratest:
*** 1. Is there a way to run phpunit in --debug mode with paratest, so that I can see the name of each individual test running as paratest is executing? I tried:
paratest --phpunit "phpunit --debug"
but that continues to run the tests like the --debug switch was never specified.
*** 2. Is there an option to have paratest continue running even after a phpunit crash? I am using HHVM to run various framework test suites and some of the tests in those suites cause fatal errors. So I get the
"Log file /tmp/PT_G8Mg9B is empty. This means a PHPUnit process has crashed."
type of message. Instead, is there a way to (1) spawn another instance of phpunit that continues with the next test after the crash? (2) run each test in its own process so that one crash does not affect all of the other tests (sort of like phpunit --process-isolation, I guess).
Thank you.
The text was updated successfully, but these errors were encountered: