Modify

Ticket #230 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Fatal error: Call to undefined method PHPUnit2_Framework_TestResult::skippedCount() in /usr/local/lib/php/phing/tasks/ext/phpunit/PHPUnitTestRunner.php on line 120

Reported by: sameera rukshan Owned by: mrook
Priority: blocker Milestone: 2.3.1
Component: phing-tasks-phpunit Version: 2.3.0
Keywords: Cc:

Description

Hi when execute phing via command line on fedora core 6 environment with PHPUnit(2.3.6) test inflating following error.

Fatal error: Call to undefined method PHPUnit2_Framework_TestResult::skippedCount() in /usr/local/lib/php/phing/tasks/ext/phpunit/PHPUnitTestRunner.php on line 120

Rgds, Sameera

Attachments

Change History

comment:1 Changed 4 years ago by sameera rukshan

[sperera@]$ phing

Buildfile: /home/sperera/Bamboo/xml-data/build-dir/HB-DEV/build.xml

HB > unittest:

[phpunit2] Tests run: 12, Failures: 0, Errors: 0, Time elapsed: 0.28396 sec

Fatal error: Call to undefined method PHPUnit2_Framework_TestResult::skippedCount() in /usr/local/lib/php/phing/tasks/ext/phpunit/PHPUnitTestRunner.php on line 120

comment:2 Changed 4 years ago by mrook

  • Status changed from new to closed
  • Resolution set to fixed

Added a check for PHPUnit 3+ in r361.

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.