-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP Fatal error: Call to undefined method PHPUnit_Framework_TestResult::allCompletlyImplemented() #10
Comments
This is due to: Maher4Ever/phpunit-progress#1 |
I am still getting this error. I have phpunit version 3.7.19. I have updated all my ruby gems and pear packages. How do I fix it? |
Got the same error: Fatal error: Call to undefined method PHPUnit_Framework_TestResult::allCompletlyImplemented() in C:\RailsInstaller\Ruby1.9.3\lib\ruby\gems\1.9.1\gems\guard-phpunit-0.1.4\lib\guard\phpunit\formatters\PHPUnit-Progress\PHPUnit\Extensions\Progress\ResultPrinter.php on line 250 To fix this issue, edit
on line 250 and 256 and edit |
using paolooo comments fixed it for me. |
+1 for paolooo, it also fix the error on my side |
+1 for @paolooo fix for me too.. 👍 |
I'm commenting to remember this....and +1 to @paolooo |
+1 for @paolooo fix for me too.. |
fix for me too thanx! @paolooo |
+1 |
Thank you, @paolooo. |
The problem is actually in another repository: Maher4Ever/phpunit-progress, and is specifically fixed by Mayer4Ever/phpunit-progress#2. Please merge this change for Great Good. 👋 |
fix for me too thanx! @paolooo |
Thank you! @paolooo |
C:\xampp\htdocs\magazine-blog3>composer info phpunit/phpunit autoload requires C:\xampp\htdocs\magazine-blog3>composer global update C:\xampp\htdocs\magazine-blog3>phpunit Fatal error: Uncaught Error: Call to undefined method PHPUnit_Util_Configuration::getTestdoxGroupConfiguration() in C:\xampp\htdocs\magazine-blog3\vendor\phpunit\phpunit\src\TextUI\TestRunner.php:1046 |
I have upgrade PHPUnit
The problem :(
09:11:48 - INFO - Running all tests
PHP Fatal error: Call to undefined method PHPUnit_Framework_TestResult::allCompletlyImplemented() in /var/lib/gems/1.9.1/gems/guard-phpunit-0.1.4/lib/guard/phpunit/formatters/PHPUnit- Progress/PHPUnit/Extensions/Progress/ResultPrinter.php on line 250
PHP Stack trace:
PHP 1. {main}() /usr/bin/phpunit:0
PHP 2. PHPUnit_TextUI_Command::main($exit = uninitialized) /usr/bin/phpunit:46
PHP 3. PHPUnit_TextUI_Command->run($argv = array (0 => '/usr/bin/phpunit', 1 => '--include-path', 2 => '/var/lib/gems/1.9.1/gems/guard-phpunit-0.1.4/lib/guard/phpunit/formatters/PHPUnit-Progress', 3 => '--printer', 4 => 'PHPUnit_Extensions_Progress_ResultPrinter', 5 => '-c', 6 => 'app/phpunit.xml.dist', 7 => 'src'), $exit = TRUE) /usr/share/php/PHPUnit/TextUI/Command.php:129
PHP 4. PHPUnit_TextUI_TestRunner->doRun($suite = class PHPUnit_Framework_TestSuite { protected $backupGlobals = FALSE; protected $backupStaticAttributes = NULL; protected $name = 'src'; protected $groups = array ('imerayo' => array (...)); protected $tests = array (0 => class PHPUnit_Framework_TestSuite { ... }, 1 => class PHPUnit_Framework_TestSuite { ... }, 2 => class PHPUnit_Framework_TestSuite { ... }, 3 => class PHPUnit_Framework_TestSuite { ... }, 4 => class PHPUnit_Framework_TestSuite { ... }, 5 => class PHPUnit_Framework_TestSuite { ... }); protected $numTests = 13; protected $testCase = FALSE }, $arguments = array ('listGroups' => FALSE, 'loader' => NULL, 'useDefaultConfiguration' => TRUE, 'printer' => class PHPUnit_Extensions_Progress_ResultPrinter { protected $column = 13; protected $maxColumn = 65; protected $lastTestFailed = FALSE; protected $numAssertions = 30; protected $numTests = 13; protected $numTestsRun = 13; protected $numTestsWidth = 2; protected $colors = FALSE; protected $debug = FALSE; protected $verbose = FALSE; protected $autoFlush = FALSE; protected $out = NULL; protected $outTarget = NULL; protected $printsHTML = FALSE }, 'configuration' => 'app/phpunit.xml.dist', 'testSuffixes' => array (0 => 'Test.php', 1 => '.phpt'))) /usr/share/php/PHPUnit/TextUI/Command.php:176
PHP 5. PHPUnit_Extensions_Progress_ResultPrinter->printResult($result = class PHPUnit_Framework_TestResult { protected $passed = array ('Hcuv\BlogBundle\Tests\Controller\BlogControllerTest::showBlogWithInvalidIdError404' => array (...), 'Hcuv\BlogBundle\Tests\Controller\BlogControllerTest::showBlogWithPreviousCreate' => array (...), 'Hcuv\BlogBundle\Tests\Controller\PageControllerTest::shouldBeShowInitialBlogHomePage' => array (...), 'Hcuv\BlogBundle\Tests\Controller\PageControllerTest::shouldBeGenerateHTTPError405MethodNoAllowedInBlogHomePageUsingMethodPost' => array (...), 'Hcuv\BlogBundle\Tests\Controller\PageControllerTest::shouldBeShowAboutPage' => array (...), 'Hcuv\BlogBundle\Tests\Controller\PageControllerTest::shouldBeShowContactFormPage' => array (...), 'Hcuv\BlogBundle\Tests\Controller\PageControllerTest::shouldBeProcessContactForm' => array (...), 'Hcuv\BlogBundle\Tests\Entity\BlogTest::createBlogWithEmptyComments' => array (...), 'Hcuv\BlogBundle\Tests\Entity\EnquiryTest::shouldBeCreateEnquiry' => array (...), 'Hcuv\BlogBundle\Tests\Entity\EnquiryTest::shouldBeSettersValuesEqualsGettersEnquiry' => array (...), 'Hcuv\BlogBundle\Tests\Form\EnquiryTypeTest::createForm' => array (...), 'Hcuv\BlogBundle\Tests\Repository\BlogRepositoryTest::getLatestBlogsWithoutLimit' => array (...), 'Hcuv\BlogBundle\Tests\Repository\BlogRepositoryTest::getLatestBlogsWithLimit2' => array (...)); protected $errors = array (); protected $deprecatedFeatures = array (); protected $failures = array (); protected $notImplemented = array (); protected $skipped = array (); protected $listeners = array (0 => class PHPUnit_Extensions_Progress_ResultPrinter { ... }, 1 => class PHPUnit_Util_DeprecatedFeature_Logger { ... }); protected $runTests = 13; protected $time = 1.6750390529633; protected $topTestSuite = class PHPUnit_Framework_TestSuite { protected $backupGlobals = FALSE; protected $backupStaticAttributes = NULL; protected $name = 'src'; protected $groups = array (...); protected $tests = array (...); protected $numTests = 13; protected $testCase = FALSE }; protected $codeCoverage = NULL; protected $convertErrorsToExceptions = TRUE; protected $stop = FALSE; protected $stopOnError = FALSE; protected $stopOnFailure = FALSE; protected $strictMode = FALSE; protected $stopOnIncomplete = FALSE; protected $stopOnSkipped = FALSE; protected $lastTestFailed = FALSE; protected $timeoutForSmallTests = 1; protected $timeoutForMediumTests = 10; protected $timeoutForLargeTests = 60 }) /usr/share/php/PHPUnit/TextUI/TestRunner.php:352
PHP 6. PHPUnit_Extensions_Progress_ResultPrinter->printFooter($result = class PHPUnit_Framework_TestResult { protected $passed = array ('Hcuv\BlogBundle\Tests\Controller\BlogControllerTest::showBlogWithInvalidIdError404' => array (...), 'Hcuv\BlogBundle\Tests\Controller\BlogControllerTest::showBlogWithPreviousCreate' => array (...), 'Hcuv\BlogBundle\Tests\Controller\PageControllerTest::shouldBeShowInitialBlogHomePage' => array (...), 'Hcuv\BlogBundle\Tests\Controller\PageControllerTest::shouldBeGenerateHTTPError405MethodNoAllowedInBlogHomePageUsingMethodPost' => array (...), 'Hcuv\BlogBundle\Tests\Controller\PageControllerTest::shouldBeShowAboutPage' => array (...), 'Hcuv\BlogBundle\Tests\Controller\PageControllerTest::shouldBeShowContactFormPage' => array (...), 'Hcuv\BlogBundle\Tests\Controller\PageControllerTest::shouldBeProcessContactForm' => array (...), 'Hcuv\BlogBundle\Tests\Entity\BlogTest::createBlogWithEmptyComments' => array (...), 'Hcuv\BlogBundle\Tests\Entity\EnquiryTest::shouldBeCreateEnquiry' => array (...), 'Hcuv\BlogBundle\Tests\Entity\EnquiryTest::shouldBeSettersValuesEqualsGettersEnquiry' => array (...), 'Hcuv\BlogBundle\Tests\Form\EnquiryTypeTest::createForm' => array (...), 'Hcuv\BlogBundle\Tests\Repository\BlogRepositoryTest::getLatestBlogsWithoutLimit' => array (...), 'Hcuv\BlogBundle\Tests\Repository\BlogRepositoryTest::getLatestBlogsWithLimit2' => array (...)); protected $errors = array (); protected $deprecatedFeatures = array (); protected $failures = array (); protected $notImplemented = array (); protected $skipped = array (); protected $listeners = array (0 => class PHPUnit_Extensions_Progress_ResultPrinter { ... }, 1 => class PHPUnit_Util_DeprecatedFeature_Logger { ... }); protected $runTests = 13; protected $time = 1.6750390529633; protected $topTestSuite = class PHPUnit_Framework_TestSuite { protected $backupGlobals = FALSE; protected $backupStaticAttributes = NULL; protected $name = 'src'; protected $groups = array (...); protected $tests = array (...); protected $numTests = 13; protected $testCase = FALSE }; protected $codeCoverage = NULL; protected $convertErrorsToExceptions = TRUE; protected $stop = FALSE; protected $stopOnError = FALSE; protected $stopOnFailure = FALSE; protected $strictMode = FALSE; protected $stopOnIncomplete = FALSE; protected $stopOnSkipped = FALSE; protected $lastTestFailed = FALSE; protected $timeoutForSmallTests = 1; protected $timeoutForMediumTests = 10; protected $timeoutForLargeTests = 60 }) /var/lib/gems/1.9.1/gems/guard-phpunit-0.1.4/lib/guard/phpunit/formatters/PHPUnit- Progress/PHPUnit/Extensions/Progress/ResultPrinter.php:72
09:11:50 - INFO - .............
Thanks
The text was updated successfully, but these errors were encountered: