You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What's the correct way to test HTTP server with PHPUnit?
I was able to start an external Swoole HTTP server(different process via exec), all looks good except the code coverage, any code used in that server won't be covered.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I want to test the HTTP server with PHPUnit in coroutine, but I couldn't access the server within test case.
What's the correct way to test HTTP server with PHPUnit?
I was able to start an external Swoole HTTP server(different process via
exec
), all looks good except the code coverage, any code used in that server won't be covered.Related question: #4831.
Beta Was this translation helpful? Give feedback.
All reactions