prophp / tests-lite
Installs: 47
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Forks: 0
pkg:composer/prophp/tests-lite
Requires
- prophp/filesystem: ~v0.0.4
This package is not auto-updated.
Last update: 2025-10-05 23:12:38 UTC
README
- PHP 8.0+
- Linux
◦ Install
composer require prophp/tests-lite --dev
vendor/bin/tests-lite
◦ Create test placeholder
bin/test create <location/path> <testTitle>[optional]
bin/test create src/Lib/Example missingFileException
◦ Run tests
bin/test
bin/test test src/Lib/Example/missingFileException
◦ Use inside tests
Helper::getDataDirPath($location)
◦ Custom config (optional)
<rootPath/>config/tests-lite.json
{
"webrootPath": "/var/www/html/",
"testsDirTitle": "tests"
}