PHPUnit tests for Drush
PHP
Switch branches/tags
Nothing to show
Pull request Compare This branch is 2 commits ahead, 2 commits behind Cyrve:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
COVERAGE.txt
README.txt
backendTest.php
commandTest.php
contextTest.php
coreTest.php
devel.xml
drush_testcase.inc
fieldTest.php
hellounish.script
phpunit.xml.dist
pmDownloadTest.php
pmEnDisUnListVarTest.php
pmUpdateCodeTest.php
runner.php
siteAliasTest.php
siteUpgradeTest.php
unit.drush.inc
userTest.php

README.txt

An experimental test suite for Drush (http://drush.ws) based on
phpunit (http://www.phpunit.de/). The intent is to commit this to core Drush.

Usage
--------
- Install PHPUnit
- Copy phpunit.xml.dist to phpunit.xml and customize.
- From the root of this package: `phpunit .` or `runner.php .`

Advanced usage
---------
- Run only tests matching a regex: phpunit --filter=testVersionString .
- XML results: phpunit --filter=testVersionString --log-junit results.xml .

Notes
----------
- I have run tests within Netbeans and it works.
- Speedup downloads with Squid as forward proxy - http://reluctanthacker.rollett.org/node/114.

Feedback
----------
Post comments to http://drupal.org/node/483940. Feel free to fork on Github.

Author
----------
Moshe Weitzman