PHPackages                             suin/xoopsunit - 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. suin/xoopsunit

Abandoned → xoopsunitLibrary[Testing &amp; Quality](/categories/testing)

suin/xoopsunit
==============

XoopsUnit is a extension of PHPUnit. You can write simplier test code with XoopsUnit.

1.3(13y ago)25321PHPPHP &gt;=5.3.0

Since Jul 15Pushed 13y ago1 watchersCompare

[ Source](https://github.com/suin/xoopsunit)[ Packagist](https://packagist.org/packages/suin/xoopsunit)[ RSS](/packages/suin-xoopsunit/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (4)Used By (1)

XoopsUnit: Simplify Your Test Code
==================================

[](#xoopsunit-simplify-your-test-code)

- master : [![Build Status](https://camo.githubusercontent.com/ad8c16febabf2227053b836e3e1ac5089f825719feae0cc3a50df19377906cd2/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f7375696e2f786f6f7073756e69742e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/suin/xoopsunit)
- develop : [![Build Status](https://camo.githubusercontent.com/129871e8a0193ca7fd7738502abdac6861ef2d3199421c956c77134adcab3d1e/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f7375696e2f786f6f7073756e69742e706e673f6272616e63683d646576656c6f70)](http://travis-ci.org/suin/xoopsunit)

XoopsUnit is a extension of PHPUnit. You can write simplier test code with XoopsUnit.

Features
--------

[](#features)

- Revealing privacy of objects.
- Reporting untested methods automatically.

Requirements
------------

[](#requirements)

- PHP 5.3.0 or later

Installing
----------

[](#installing)

Go to your project directory (There will be `html` and `xoops_trust_path`):

```
$ cd /path/to/your/xoops
```

And run this:

```
$ curl https://raw.github.com/gist/3116932/9577749ed6532d3ff6de9b9d1ea3f961ffa55dc7/xoopsunit-install.php -s -o xoopsunit-install.php && php xoopsunit-install.php && \rm xoopsunit-install.php
```

Reference
---------

[](#reference)

### Revealing privacy

[](#revealing-privacy)

You can manipulate protected/private attributes of methods simply using `reveal()`.

```
