CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • Unit Testing (Moderator: Michał Mach) »
  • CiviHR web tests
Pages: [1]

Author Topic: CiviHR web tests  (Read 813 times)

nigel_currie

  • I’m new here
  • *
  • Posts: 21
  • Karma: 1
CiviHR web tests
March 10, 2014, 02:12:30 pm
Hi,

I want to add some web tests to an extension I'm contributing to and quite like how it's done in CiviHR, so using that as a guide. Problem is, I can't get CiviHR's webtests to run from the shell script. The error I'm getting is:

Code: [Select]
Fatal error: Uncaught exception 'PHPUnit_Framework_Exception' with message 'Neither "WebTest All Tests.php" nor "WebTest All Tests.php" could be opened.' in F:\development\civi-drupal\sites\all\modules\civicrm\packages\PHPUnit\Util\Skeleton\Test.php:100
Stack trace:
#0 F:\development\civi-drupal\sites\all\modules\civicrm\packages\PHPUnit\TextUI\
Command.php(197): PHPUnit_Util_Skeleton_Test->__construct('WebTest All Tes...',
'')
#1 F:\development\civi-drupal\sites\all\modules\civicrm\packages\PHPUnit\TextUI\
Command.php(139): PHPUnit_TextUI_Command->run(Array, true)
#2 F:\development\civi-drupal\sites\all\modules\civicrm\tools\scripts\phpunit(75
): PHPUnit_TextUI_Command::main()
#3 {main}
  thrown in F:\development\civi-drupal\sites\all\modules\civicrm\packages\PHPUni
t\Util\Skeleton\Test.php on line 100
+ popd
/f/development/civi-drupal/sites/all/modules/civicrm/tools/extensions/civihr/bin

Paths in setup.conf all look fine, so drawing a blank.... Any ideas gratefully received.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • Unit Testing (Moderator: Michał Mach) »
  • CiviHR web tests

This forum was archived on 2017-11-26.