# PHPUnit
PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of the xUnit architecture for unit testing frameworks.
[![Latest Stable Version](https://img.shields.io/packagist/v/phpunit/phpunit.svg?style=flat-square)](https://packagist.org/packages/phpunit/phpunit)
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%207.0-8892BF.svg?style=flat-square)](https://php.net/)
[![Build Status](https://img.shields.io/travis/sebastianbergmann/phpunit/6.5.svg?style=flat-square)](https://phpunit.de/build-status.html)
## Installation
We distribute a [PHP Archive (PHAR)](https://php.net/phar) that has all required (as well as some optional) dependencies of PHPUnit bundled in a single file:
```bash
$ wget https://phar.phpunit.de/phpunit.phar
$ chmod +x phpunit.phar
$ mv phpunit.phar /usr/local/bin/phpunit
```
You can also immediately use the PHAR after you have downloaded it, of course:
```bash
$ wget https://phar.phpunit.de/phpunit.phar
$ php phpunit.phar
```
Alternatively, you may use [Composer](https://getcomposer.org/) to download and install PHPUnit as well as its dependencies. Please refer to the [documentation](https://phpunit.de/documentation.html) for details on how to do this.
## Contribute
Please refer to [CONTRIBUTING.md](https://github.com/sebastianbergmann/phpunit/blob/master/.github/CONTRIBUTING.md) for information on how to contribute to PHPUnit and its related projects.
## List of Contributors
Thanks to everyone who has contributed to PHPUnit! You can find a detailed list of contributors on every PHPUnit related package on GitHub. This list shows only the major components:
* [PHPUnit](https://github.com/sebastianbergmann/phpunit/graphs/contributors)
* [PHP_CodeCoverage](https://github.com/sebastianbergmann/php-code-coverage/graphs/contributors)
* [PHPUnit_MockObject](https://github.com/sebastianbergmann/phpunit-mock-objects/graphs/contributors)
A very special thanks to everyone who has contributed to the documentation and helps maintain the translations:
* [PHPUnit Documentation](https://github.com/sebastianbergmann/phpunit-documentation/graphs/contributors)
没有合适的资源?快使用搜索试试~ 我知道了~
基于PHP的Unit测试框架源码.zip
共582个文件
php:356个
phpt:150个
xml:28个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 100 浏览量
2023-08-29
00:07:15
上传
评论
收藏 496KB ZIP 举报
温馨提示
基于PHP的Unit测试框架源码.zip
资源推荐
资源详情
资源评论
收起资源包目录
基于PHP的Unit测试框架源码.zip (582个子文件)
TestCaseMethod.tpl.dist 3KB
TestCaseClass.tpl.dist 3KB
PhptTestCase.tpl.dist 1KB
.editorconfig 115B
.gitattributes 38B
.gitignore 305B
constant.inc 42B
composer.json 2KB
arrayObject.json 34B
simpleObject.json 17B
LICENSE 2KB
ChangeLog-4.8.md 12KB
ChangeLog-5.7.md 11KB
ChangeLog-6.0.md 9KB
ChangeLog-4.0.md 8KB
ChangeLog-5.0.md 6KB
ChangeLog-5.2.md 5KB
ChangeLog-5.4.md 4KB
ChangeLog-4.6.md 4KB
ChangeLog-5.6.md 4KB
ChangeLog-6.4.md 4KB
ChangeLog-4.1.md 3KB
ChangeLog-4.7.md 3KB
ChangeLog-5.5.md 3KB
ChangeLog-6.1.md 3KB
ChangeLog-5.1.md 3KB
CONTRIBUTING.md 3KB
ChangeLog-5.3.md 3KB
ChangeLog-4.3.md 2KB
ChangeLog-6.2.md 2KB
ChangeLog-4.2.md 2KB
CODE_OF_CONDUCT.md 2KB
ChangeLog-4.4.md 2KB
README.md 2KB
ChangeLog-6.5.md 1KB
ChangeLog-4.5.md 1KB
ChangeLog-6.3.md 1KB
ISSUE_TEMPLATE.md 518B
phpunit-example-extension-1.0.1.phar 6KB
AssertTest.php 88KB
Assert.php 80KB
ConstraintTest.php 77KB
TestCase.php 68KB
Functions.php 44KB
TestRunner.php 43KB
Command.php 40KB
Test.php 38KB
Configuration.php 36KB
TestTest.php 34KB
TestResult.php 31KB
TestSuite.php 27KB
TestCaseTest.php 21KB
ResultPrinter.php 17KB
ConfigurationTest.php 17KB
PhptTestCase.php 15KB
JUnit.php 12KB
TeamCity.php 11KB
AbstractPhpProcess.php 10KB
ResultPrinter.php 9KB
Xml.php 8KB
PhptTestCaseTest.php 8KB
RequirementsTest.php 8KB
SuiteTest.php 7KB
XmlResultPrinter.php 6KB
DefaultPhpProcess.php 5KB
GetoptTest.php 5KB
GlobalState.php 5KB
CountTest.php 5KB
IsEqual.php 5KB
Getopt.php 5KB
LogicalNot.php 4KB
JsonMatchesTest.php 4KB
Constraint.php 4KB
IsIdentical.php 4KB
ArraySubset.php 4KB
BaseTestRunner.php 4KB
TestFailure.php 4KB
AbstractPhpProcessTest.php 4KB
TraversableContains.php 3KB
StandardTestSuiteLoader.php 3KB
IsType.php 3KB
Printer.php 3KB
Blacklist.php 3KB
NameFilterIterator.php 3KB
XmlTest.php 3KB
Count.php 3KB
LogicalAnd.php 3KB
NamePrettifier.php 3KB
LogicalXor.php 3KB
ErrorHandler.php 3KB
LogicalOr.php 3KB
Filter.php 3KB
JsonMatches.php 3KB
NamePrettifierTest.php 3KB
ArraySubsetTest.php 3KB
HtmlResultPrinter.php 3KB
ExceptionTest.php 3KB
TestListenerTest.php 3KB
XmlTestListRenderer.php 2KB
JsonMatchesErrorMessageProviderTest.php 2KB
共 582 条
- 1
- 2
- 3
- 4
- 5
- 6
资源评论
易小侠
- 粉丝: 6449
- 资源: 9万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功