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
:bird: Find tests that are making external requests
3
+
4
+
## Why
5
+
Not all tests are written perfectly. This library intends to help you spot when your phpunit tests are making requests across ports when you don't want them to.
6
+
7
+
>Note: This is in a super alpha bootleg version. Try it out, but.. uh, no promises.
8
+
9
+
## Installation
10
+
11
+
```
12
+
composer require willwashburn/phpunit-port-canary
13
+
```
14
+
15
+
Alternatively, add "willwashburn/phpunit-port-canary": "0.0.1" to your composer.json
16
+
17
+
## Configuration
18
+
Add this to your phpunit.xml and any test that crosses a port should throw an error, very abrubtly.
0 commit comments