Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6868441
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T03:26:05+00:00 2026-05-27T03:26:05+00:00

Recently I upgrade my machine to fedora 16. PHPUnit worked fine on fedora 15.

  • 0

Recently I upgrade my machine to fedora 16. PHPUnit worked fine on fedora 15. But after upgrade , when I run tests , it gives

PHP Warning: require_once(PHPUnit/Framework.php): failed to open stream: No such file or directory in “PATH TO MY TEST CLASSS”.php on line 19
PHP Stack trace:

PHP   1. {main}() /usr/bin/phpunit:0
PHP   2. PHPUnit_TextUI_Command::main() /usr/bin/phpunit:44
PHP   3. PHPUnit_TextUI_Command->run() /usr/share/pear/PHPUnit/TextUI/Command.php:125
PHP   4. PHPUnit_Runner_BaseTestRunner->getTest() /usr/share/pear/PHPUnit/TextUI/Command.php:145
PHP   5. PHPUnit_Runner_BaseTestRunner->loadSuiteClass() /usr/share/pear/PHPUnit/Runner/BaseTestRunner.php:104
PHP   6. PHPUnit_Runner_StandardTestSuiteLoader->load() /usr/share/pear/PHPUnit/Runner/BaseTestRunner.php:168
PHP   7. PHPUnit_Util_Fileloader::checkAndLoad() /usr/share/pear/PHPUnit/Runner/StandardTestSuiteLoader.php:78
PHP   8. PHPUnit_Util_Fileloader::load() /usr/share/pear/PHPUnit/Util/Fileloader.php:79
PHP   9. include_once() /usr/share/pear/PHPUnit/Util/Fileloader.php:95

PHP Fatal error: require_once(): Failed opening required ‘PHPUnit/Framework.php’ (include_path=’.:/usr/share/pear:/usr/share/php’) in “PATH TO MY TEST CLASS”.php on line 19
PHP Stack trace:

PHP   1. {main}() /usr/bin/phpunit:0
PHP   2. PHPUnit_TextUI_Command::main() /usr/bin/phpunit:44
PHP   3. PHPUnit_TextUI_Command->run() /usr/share/pear/PHPUnit/TextUI/Command.php:125
PHP   4. PHPUnit_Runner_BaseTestRunner->getTest() /usr/share/pear/PHPUnit/TextUI/Command.php:145
PHP   5. PHPUnit_Runner_BaseTestRunner->loadSuiteClass() /usr/share/pear/PHPUnit/Runner/BaseTestRunner.php:104
PHP   6. PHPUnit_Runner_StandardTestSuiteLoader->load() /usr/share/pear/PHPUnit/Runner/BaseTestRunner.php:168
PHP   7. PHPUnit_Util_Fileloader::checkAndLoad() /usr/share/pear/PHPUnit/Runner/StandardTestSuiteLoader.php:78
PHP   8. PHPUnit_Util_Fileloader::load() /usr/share/pear/PHPUnit/Util/Fileloader.php:79
PHP   9. include_once() /usr/share/pear/PHPUnit/Util/Fileloader.php:95

What can be the issue for this. ? Any Help ..?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T03:26:06+00:00Added an answer on May 27, 2026 at 3:26 am

    I’d assume you are installing PHPUnit through the fedora package manager? That would be the only reason why the os version would have any impact on that 🙂

    In both cases your problem seems to be that you are running PHPUnit 3.6.x and your code base seems not be fit for this version and requires you to downgrade to PHPUnit 3.5.15

    You can do this using the pear installer (instead of installing phpunit from packages) so remove the package and follow the relevant part of:

    Downgrading phpunit 3.6 to 3.5.15


    In general it is not needed to require that file anymore. The phpunit runner will that up everything and in case you are using some custom runner only PHPUnit/Autoload.php is needed.

    The current way structuring phpunit test suites (recommended since 3.4.) is described here: PHPUnit manual: Organizing tests

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently upgraded MySQL to 5.1.41. Before the upgrade the following SQL worked (or
Our dev server was recently upgraded to PHP v5.2.13. With that upgrade we have
We just recently upgraded from VS2008 to VS2010. Our project compiles fine; but when
I recently upgrade to Rails 3, and after fixing most of the issues I
I recently upgraded to Lion and everything was fine. Even rebooted the machine a
Recently i have upgraded my iphone to iOS5 . After upgrade to iOS 5,
We recently had a problem with an application upgrade on Android Market. Namely, after
I recently upgraded my machine from Leopard to Snow Leopard. Also I installed the
I recently upgraded from Vista/32 to Win7/64. On my old machine, everything was working
I'm using boost for several C++ projects. I recently made a upgrade (1.33.1 to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.