I am trying to run a PHPunit test for my extension but I keep
getting the following error:
Fatal error: Class 'PHPUnit_Framework_BaseTestListener' not
on line 17
Any ideas on how I can fix this?
I am using CiviCRM 4.7
CMS is Drupal 7
My system OS is Windows 10. My extension is placed in
My test directory was created using
civix on the Windows command prompt.
I run the tests using PHPUnit via the command prompt in the root
directory of my extension.
- Currently, most of the Civi testing runs against the PHAR build
phpunitv6 renames every class to use
_, which means that all the
base-classes disappear if you run on a newer build of phpunit.