|
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.