|
|
9 ماه پیش | |
|---|---|---|
| .. | ||
| mock | 9 ماه پیش | |
| scripts | 9 ماه پیش | |
| ClientTest.php | 9 ماه پیش | |
| ExceptionTest.php | 9 ماه پیش | |
| MessageTest.php | 9 ماه پیش | |
| README.md | 9 ماه پیش | |
| ServerTest.php | 9 ماه پیش | |
| bootstrap.php | 9 ماه پیش | |
Unit tests with PHPUnit.
To run all test, run in console.
make test
GitHub Actions are run on PHP versions 7.4, 8.0, 8.1 and 8.2.
Code coverage by Coveralls.
Test set up overloads various stream and socket functions, and use "scripts" to define and mock input/output of these functions.
This set up negates the dependency on running servers, and allow testing various errors that might occur.