prophp / mirror_tests-lite
v0.0.1
2022-09-20 22:31 UTC
This package is not auto-updated.
Last update: 2024-10-03 06:19:32 UTC
README
- PHP 8.0+
- Linux
◦ 安装
composer require prophp/mirror_tests-lite --dev
vendor/bin/tests-lite
◦ 创建测试占位符
bin/test create <location/path> <testTitle>[optional]
bin/test create src/Lib/Example missingFileException
◦ 运行测试
bin/test
◦ 在测试中使用
Helper::getDataDirPath($location)
◦ 自定义配置(可选)
<rootPath/>config/tests-lite.json
{
"webrootPath": "/var/www/html/",
"testsDirTitle": "tests"
}