PHPackages                             vasek-purchart/phing-tester - 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. vasek-purchart/phing-tester

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

vasek-purchart/phing-tester
===========================

Helper tool for writing Phing component tests using PHPUnit

2.1(4y ago)41.6k1[4 PRs](https://github.com/VasekPurchart/Phing-Tester/pulls)2MITPHPPHP ~7.2

Since Mar 20Pushed 1y ago1 watchersCompare

[ Source](https://github.com/VasekPurchart/Phing-Tester)[ Packagist](https://packagist.org/packages/vasek-purchart/phing-tester)[ RSS](/packages/vasek-purchart-phing-tester/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (5)Versions (8)Used By (2)

Phing Tester
============

[](#phing-tester)

[Phing](https://github.com/phingofficial/phing/) is a build system which you can extend by writing PHP code. This is really useful, especially for PHP projects so that you do not need any additional technologies and can potentially reuse existing code. But when you are writing such extensions, you should also test them. And because the nature of the build system is printing output, manipulating files and other "system" stuff, then writing isolated tests becomes an issue. Phing Tester should help with this task by providing a way to run Phing targets from PHPUnit tests as if they were run from the command line itself.

Usage
-----

[](#usage)

With Phing Tester you can write a XML buildfile as usual with Phing and then run its targets from PHP code:

```

		Lorem ipsum dolor sit amet

```

```
