-
Notifications
You must be signed in to change notification settings - Fork 16
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
PHPUnit_Framework_Exception: Fatal error: Interface 'Stagehand\ComponentFactory\IComponentFactory' not found #19
Comments
First of all, great tool, thank you for it! I have similar problem but only during process isolation setting to TRUE. Env:
Fatal error: Interface 'Stagehand\ComponentFactory\IComponentFactory' not found in /home/opt/eclipse-kepler-php/plugins/com.piece_framework.makegood.stagehandtestrunner_2.4.1.v201303271518/resources/php/php/Stagehand/ComponentFactory/ComponentFactory.php on line 50 Call Stack: /home/opt/eclipse-kepler-php/plugins/com.piece_framework.makegood.stagehandtestrunner_2.4.1.v201303271518/resources/php/php/Stagehand/TestRunner/Runner/PHPUnitRunner.php:81 |
MakeGood does not support the process isolation feature of PHPUnit. MakeGood launches a test run by MakeGood's launcher script testrunner.php including autoloder configuration. But process isolation uses the phpunit command directly. |
Concerning the initial Issue with ComponentFactory not found on windows. |
Hi,
Below, the output of running a single line test.
The Stagehand\ComponentFactory\IComponentFactory Interface exists and is in the same folder as the ComponentFactory
This error prevents any testing being done.
Env:
Windows 7
Eclipse Juno 4.2.1
PHP 5.4.7
PHPUnit 3.7.10
MakeGood 2.1.0 was installed today from the update site
Thanks.
THE CONSOLE OUTPUT:
Time: 14 seconds, Memory: 5.75Mb
There was 1 error:
PHPUnit_Framework_Exception: Fatal error: Interface 'Stagehand\ComponentFactory\IComponentFactory' not found in C:\Users\K\Desktop\JavaDev\eclipse\plugins\com.piece_framework.makegood.stagehandtestrunner_2.1.0.v201208021610\resources\php\php\Stagehand\ComponentFactory\ComponentFactory.php on line 50
C:\Users\K\Desktop\JavaDev\eclipse\plugins\com.piece_framework.makegood.stagehandtestrunner_2.1.0.v201208021610\resources\php\php\Stagehand\TestRunner\Runner\PHPUnitRunner.php:120
C:\Users\K\Desktop\JavaDev\eclipse\plugins\com.piece_framework.makegood.stagehandtestrunner_2.1.0.v201208021610\resources\php\php\Stagehand\TestRunner\Process\TestRun.php:103
C:\Users\K\Desktop\JavaDev\eclipse\plugins\com.piece_framework.makegood.stagehandtestrunner_2.1.0.v201208021610\resources\php\php\Stagehand\TestRunner\CLI\TestRunner.php:69
C:\Users\K\Desktop\JavaDev\eclipse\plugins\com.piece_framework.makegood.stagehandtestrunner_2.1.0.v201208021610\resources\php\php\Stagehand\TestRunner\CLI\TestRunnerApplication\Command\PluginCommand.php:145
C:\Users\K\Desktop\JavaDev\eclipse\plugins\com.piece_framework.makegood.stagehandtestrunner_2.1.0.v201208021610\resources\php\php\Symfony\Component\Console\Command\Command.php:239
C:\Users\K\Desktop\JavaDev\eclipse\plugins\com.piece_framework.makegood.stagehandtestrunner_2.1.0.v201208021610\resources\php\php\Symfony\Component\Console\Application.php:193
C:\Users\K\Desktop\JavaDev\eclipse\plugins\com.piece_framework.makegood.stagehandtestrunner_2.1.0.v201208021610\resources\php\php\Symfony\Component\Console\Application.php:106
Caused by
ErrorException: unserialize(): Error at offset 0 of 273 bytes
C:\Users\K\Desktop\JavaDev\eclipse\plugins\com.piece_framework.makegood.stagehandtestrunner_2.1.0.v201208021610\resources\php\php\Stagehand\TestRunner\Runner\PHPUnitRunner.php:120
C:\Users\K\Desktop\JavaDev\eclipse\plugins\com.piece_framework.makegood.stagehandtestrunner_2.1.0.v201208021610\resources\php\php\Stagehand\TestRunner\Process\TestRun.php:103
C:\Users\K\Desktop\JavaDev\eclipse\plugins\com.piece_framework.makegood.stagehandtestrunner_2.1.0.v201208021610\resources\php\php\Stagehand\TestRunner\CLI\TestRunner.php:69
C:\Users\K\Desktop\JavaDev\eclipse\plugins\com.piece_framework.makegood.stagehandtestrunner_2.1.0.v201208021610\resources\php\php\Stagehand\TestRunner\CLI\TestRunnerApplication\Command\PluginCommand.php:145
C:\Users\K\Desktop\JavaDev\eclipse\plugins\com.piece_framework.makegood.stagehandtestrunner_2.1.0.v201208021610\resources\php\php\Symfony\Component\Console\Command\Command.php:239
C:\Users\K\Desktop\JavaDev\eclipse\plugins\com.piece_framework.makegood.stagehandtestrunner_2.1.0.v201208021610\resources\php\php\Symfony\Component\Console\Application.php:193
C:\Users\K\Desktop\JavaDev\eclipse\plugins\com.piece_framework.makegood.stagehandtestrunner_2.1.0.v201208021610\resources\php\php\Symfony\Component\Console\Application.php:106
FAILURES!
Tests: 1, Assertions: 0, Errors: 1.
The text was updated successfully, but these errors were encountered: