PHPackages                             subtlephp/bran - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. subtlephp/bran

ActiveLibrary[Testing &amp; Quality](/categories/testing)

subtlephp/bran
==============

A HTTP api testing framework based on phpunit and guzzle

1.0.1(9y ago)160MIT

Since Jul 28Compare

[ Source](https://github.com/subtlephp/bran)[ Packagist](https://packagist.org/packages/subtlephp/bran)[ RSS](/packages/subtlephp-bran/feed)WikiDiscussions Synced 2w ago

READMEChangelogDependencies (5)Versions (2)Used By (0)

基于PHPUnit和Guzzle的Api单元测试工具
==========================

[](#基于phpunit和guzzle的api单元测试工具)

安装
--

[](#安装)

执行`composer require subtlephp/bran`

使用
--

[](#使用)

1. 使用`Bran\Raven`代替`PHPUnit\Framework\TestCase`来创建新的测试类
2. 示例代码如下:

```
