parf/spartan-test
Composer 安装命令:
composer require parf/spartan-test
包简介
PHP 8 Unit and Web Testing Utility
README 文档
README
Minimalistic PHP 7, PHP 8 Unit Testing Framework / Web Testing Framework
Write your tests in style:
- Very simple tests
- Run as an executable file
- Both unit and web testing
- PHP code, minimal learning curve
- Less cruft, more fun
-
Examples
- Basic test example
- (advanced) Custom comparison methods
- Web-tests
-
To see more help just run
stest --helporstest-all --help
Composer / Laravel Autoload Integration
Upon start spartan test includes bootstrap/autoload.php or vendor/autoload or init.php file from current or parent directories
You can specify your custom autoload file using "--init=$path_filename" option or via stest.config file
INSTALL (GIT)
mkdir -p ~/src ~/bin
git clone https://github.com/parf/spartan-test.git ~/src/spartan-test
ln -s ~/src/spartan-test/stest ~/bin
INSTALL (COMPOSER)
composer require parf/spartan-test
ln -s ./vendor/bin/stest ~/bin
ln -s ./vendor/bin/stest-all ~/bin
stestprovides testing frameworkstest-allruns all or specific tests in parallel (gnu-parallel utility required)
统计信息
- 总下载量: 32
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 8
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-04-01