forged-collections/exceptions
Composer 安装命令:
composer require forged-collections/exceptions
包简介
Exception interfaces and classes common to ForgedCollections.
关键字:
README 文档
README
Exception philosophy (or is it methodology?)
TODO: explain my philosophy and principals for Exceptions implementation and handling.
Dependencies
None.
Installation
composer require forged-collections/exceptions09
Usage
TODO
Testing
Testing is performed by PhpUnit and run in Docker containers, one for each supported version of PHP.
To run all tests for all PHP versions:
docker compose --profile=phpunit up
That command tests all PHP version in parallel, which can make understanding the rest output difficult. To work around this either run them individually (or see Test Reports):
# Run PHP 8.3 test only
docker compose --profile=phpunit up phpunit83
Test reports
Multiple reports are written for each PHP version.
/build/<php-version>/testdox.txt: Human friendly plaintext report of passed/failing tests../build/<php-version>/testdox.html: As above, but formatted with HTML../build/<php-version>/coverage: Project's test coverage report in HTML./build/<php-version>/compose.lock: Copy of composer's lock file for local replication and debugging.
You can also see the test runners actual output with the command:
docker compose --profile=phpunit logs <container>
For example to see the output from PHP 8.3
docker compose --profile=phpunit logs phpunit83
Debugging tests
TODO
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-09-29