Yii Framework Forum: Unit Tests Unable To Find Class - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Unit Tests Unable To Find Class PHPUnit include(): failed to open stream: No such file or directory Rate Topic: -----

#1 User is offline   ceedeezy 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 21-March 12

Posted 10 October 2012 - 03:58 PM

I have a test case called ApiUserServicesTest in protected/tests/unit/modules/api and the class it's testing is in protected/modules/api/modules/v1_0/implementations/ApiUserServices.php. When I run the test, PHPUnit throws the error "include(ApiUserServices.php): failed to open stream: No such file or directory".

Is there any reason that my class wouldn't be visible to my test case?

Thanks.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users