app-skeleton/unittest
Composer 安装命令:
composer require app-skeleton/unittest
包简介
PHPUnit integration for running unit tests on the Kohana framework
关键字:
README 文档
README
This module integrates PHPUnit with Kohana.
If you look through any of the tests provided in this module you'll probably notice all theHorribleCamelCase. I've chosen to do this because it's part of the PHPUnit coding conventions and is required for certain features such as auto documentation.
Requirements
- PHPUnit >= 3.4
Usage
$ phpunit --bootstrap=modules/unittest/bootstrap.php modules/unittest/tests.php
Alternatively you can use a phpunit.xml to have a more fine grained control
over which tests are included and which files are whitelisted.
Make sure you only whitelist the highest files in the cascading filesystem, else you could end up with a lot of "class cannot be redefined" errors.
If you use the tests.php testsuite loader then it will only whitelist the
highest files. see config/unittest.php for details on configuring the
tests.php whitelist.
统计信息
- 总下载量: 19
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2013-11-18