Bläddra i källkod

Show Workerman info in tests

Joanhey 2 år sedan
förälder
incheckning
0d011e3b1a
2 ändrade filer med 2 tillägg och 0 borttagningar
  1. 1 0
      tests/Feature/HttpConnectionTest.php
  2. 1 0
      tests/Feature/UdpConnectionTest.php

+ 1 - 0
tests/Feature/HttpConnectionTest.php

@@ -14,6 +14,7 @@ beforeAll(function () use (&$process) {
 });
 
 afterAll(function () use (&$process) {
+    echo $process->getOutput();
     $process->stop();
 });
 

+ 1 - 0
tests/Feature/UdpConnectionTest.php

@@ -27,6 +27,7 @@ beforeAll(function () use ($serverAddress, &$process) {
 });
 
 afterAll(function () use (&$process) {
+    echo "\nUDP Test:\n", $process->getOutput();
     $process->stop();
 });