-
Notifications
You must be signed in to change notification settings - Fork 37
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
Does phpunit testing work for anyone else? #48
Comments
@smustgrave This works for me:
|
Closed
It works well for me as well:
PS. Thanks @ronaldmulero, I have been looking for a fast test, so thanks for making me aware of |
closing for #63 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently look to apply a patch to Drupal core. But first I want to run a phpunit test on a single file.
1 It takes almost 30-45 minutes to run a single file does that seem correct?
2 Comes back with all errors even though I didn't make a change
3 No error messages
Example
6) Drupal\Tests\datetime\Functional\DateTimeFieldTest::testDateStorageSettings
PHPUnit\Framework\Exception: Xdebug: [Step Debug] Could not connect to debugging client. Tried: host.docker.internal:9003 (fallback through xdebug.client_host/xdebug.client_port) :-(
Xdebug: [Step Debug] Could not connect to debugging client. Tried: host.docker.internal:9003 (fallback through xdebug.client_host/xdebug.client_port) :-(
Xdebug: [Step Debug] Could not connect to debugging client. Tried: host.docker.internal:9003 (fallback through xdebug.client_host/xdebug.client_port) :-(
Xdebug: [Step Debug] Could not connect to debugging client. Tried: host.docker.internal:9003 (fallback through xdebug.client_host/xdebug.client_port) :-(
Xdebug: [Step Debug] Could not connect to debugging client. Tried: host.docker.internal:9003 (fallback through xdebug.client_host/xdebug.client_port) :-(
Xdebug: [Step Debug] Could not connect to debugging client. Tried: host.docker.internal:9003 (fallback through xdebug.client_host/xdebug.client_port) :-(
Xdebug: [Step Debug] Could not connect to debugging client. Tried: host.docker.internal:9003 (fallback through xdebug.client_host/xdebug.client_port) :-(
Xdebug: [Step Debug] Could not connect to debugging client. Tried: host.docker.internal:9003 (fallback through xdebug.client_host/xdebug.client_port) :-(
/app/vendor/phpunit/phpunit/src/Util/PHP/AbstractPhpProcess.php:270
/app/vendor/phpunit/phpunit/src/Util/PHP/AbstractPhpProcess.php:187
/app/vendor/phpunit/phpunit/src/Framework/TestSuite.php:677
/app/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:670
/app/vendor/phpunit/phpunit/src/TextUI/Command.php:143
/app/vendor/phpunit/phpunit/src/TextUI/Command.php:96
Just wondering if anyone got this working or are they using another way?
The text was updated successfully, but these errors were encountered: