Quellcode durchsuchen

Show Workerman info in tests

Joanhey vor 2 Jahren
Ursprung
Commit
0d011e3b1a
2 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  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();
 });