Created
November 22, 2014 19:46
-
-
Save etki/6a97b1c17904a80f7ecd to your computer and use it in GitHub Desktop.
Codeception separate processes issue
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
There was 1 error: | |
--------- | |
1) SeparateProcessTest::testMe | |
PHPUnit_Framework_Exception: PHP Fatal error: Call to a member function run() on a non-object in /home/etki/Workspace/PHP/environment/vendor/codeception/codeception/src/Codeception/TestCase/Test.php on line 30 | |
PHP Stack trace: | |
PHP 1. {main}() -:0 | |
PHP 2. __phpunit_run_isolated_test() -:626 | |
PHP 3. PHPUnit_Framework_TestCase->run() -:369 | |
PHP 4. PHPUnit_Framework_TestResult->run() /home/etki/Workspace/PHP/environment/vendor/phpunit/phpunit/src/Framework/TestCase.php:711 | |
PHP 5. PHPUnit_Framework_TestCase->runBare() /home/etki/Workspace/PHP/environment/vendor/phpunit/phpunit/src/Framework/TestResult.php:643 | |
PHP 6. Codeception\TestCase\Test->setUp() /home/etki/Workspace/PHP/environment/vendor/phpunit/phpunit/src/Framework/TestCase.php:771 | |
Fatal error: Call to a member function run() on a non-object in /home/etki/Workspace/PHP/environment/vendor/codeception/codeception/src/Codeception/TestCase/Test.php on line 30 | |
Call Stack: | |
0.0021 476256 1. {main}() -:0 | |
0.0853 7727224 2. __phpunit_run_isolated_test() -:626 | |
0.0867 7886616 3. PHPUnit_Framework_TestCase->run() -:369 | |
0.0890 8083560 4. PHPUnit_Framework_TestResult->run() /home/etki/Workspace/PHP/environment/vendor/phpunit/phpunit/src/Framework/TestCase.php:711 | |
0.0919 8170464 5. PHPUnit_Framework_TestCase->runBare() /home/etki/Workspace/PHP/environment/vendor/phpunit/phpunit/src/Framework/TestResult.php:643 | |
0.0945 8191208 6. Codeception\TestCase\Test->setUp() /home/etki/Workspace/PHP/environment/vendor/phpunit/phpunit/src/Framework/TestCase.php:771 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @runTestsInSeparateProcesses | |
*/ | |
class SeparateProcessTest extends \Codeception\TestCase\Test | |
{ | |
public function testMe() {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment