|
пре 3 недеља | |
---|---|---|
.. | ||
mock | пре 3 недеља | |
scripts | пре 3 недеља | |
ClientTest.php | пре 3 недеља | |
ExceptionTest.php | пре 3 недеља | |
MessageTest.php | пре 3 недеља | |
README.md | пре 3 недеља | |
ServerTest.php | пре 3 недеља | |
bootstrap.php | пре 3 недеља |
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.