MakeGood 3.1.1

Add this URL to your Eclipse Installation to reach this Solution's Update Site.

Learn more...

Details Group Tabs

Fatal error: Using $this when not in object context in C:\Users\Garzahd\Programs\eclipse\plugins\com.piece_framework.makegood.stagehandtestrunner_2.4.0.v201303191720\resources\php\php\Stagehand\TestRunner\Collector\Collector.php on line 115

Call Stack:
0.0043 365712 1. {main}() C:\Users\Garzahd\Programs\eclipse\plugins\com.piece_framework.makegood.stagehandtestrunner_2.4.0.v201303191720\resources\php\bin\testrunner.php:0
0.7416 2227648 2. Symfony\Component\Console\Application->run() C:\Users\Garzahd\Programs\eclipse\plugins\com.piece_framework.makegood.stagehandtestrunner_2.4.0.v201303191720\resources\php\bin\testrunner.php:59
0.9041 2636320 3. Symfony\Component\Console\Application->doRun() C:\Users\Garzahd\Programs\eclipse\plugins\com.piece_framework.makegood.stagehandtestrunner_2.4.0.v201303191720\resources\php\php\Symfony\Component\Console\Application.php:105
0.9221 2636320 4. Symfony\Component\Console\Command\Command->run() C:\Users\Garzahd\Programs\eclipse\plugins\com.piece_framework.makegood.stagehandtestrunner_2.4.0.v201303191720\resources\php\php\Symfony\Component\Console\Application.php:192
0.9600 2637464 5. Stagehand\TestRunner\CLI\TestRunnerApplication\Command\PluginCommand->execute() C:\Users\Garzahd\Programs\eclipse\plugins\com.piece_framework.makegood.stagehandtestrunner_2.4.0.v201303191720\resources\php\php\Symfony\Component\Console\Command\Command.php:238
2.4382 5153296 6. Stagehand\TestRunner\Process\TestRunner->run() C:\Users\Garzahd\Programs\eclipse\plugins\com.piece_framework.makegood.stagehandtestrunner_2.4.0.v201303191720\resources\php\php\Stagehand\TestRunner\CLI\TestRunnerApplication\Command\PluginCommand.php:149
2.4487 5171712 7. Stagehand\TestRunner\Collector\Collector->collect() C:\Users\Garzahd\Programs\eclipse\plugins\com.piece_framework.makegood.stagehandtestrunner_2.4.0.v201303191720\resources\php\php\Stagehand\TestRunner\Process\TestRunner.php:106
2.4488 5172488 8. Stagehand\TestRunner\Core\TestTargetRepository->walkOnResources() C:\Users\Garzahd\Programs\eclipse\plugins\com.piece_framework.makegood.stagehandtestrunner_2.4.0.v201303191720\resources\php\php\Stagehand\TestRunner\Collector\Collector.php:132
2.4488 5172688 9. array_walk() C:\Users\Garzahd\Programs\eclipse\plugins\com.piece_framework.makegood.stagehandtestrunner_2.4.0.v201303191720\resources\php\php\Stagehand\TestRunner\Core\TestTargetRepository.php:110
2.4488 5172752 10. Stagehand\TestRunner\Collector\{closure}() C:\Users\Garzahd\Programs\eclipse\plugins\com.piece_framework.makegood.stagehandtestrunner_2.4.0.v201303191720\resources\php\php\Stagehand\TestRunner\Core\TestTargetRepository.php:110

I couldn't track the reason yet but from command line tests take 1-2 seconds... within Eclipse+MakeGood they take 42 seconds.

This used to work very nicely but it appears that the authors have some configuration problems.
I've been getting an error about a missing function workingDirectoryAtStartup() in the Bootstrap.php file.
I've figured out that the problem is I have stageHand 3.4 installed (via PEAR) but Makegood installs part of all of a StageHand 3.2 into it's plugin directory. The problem is Makegood tries to launch StageHand with the testrunner launcher for version 3.2 but then the PHP include startings including stuff rom 3.4 and it all falls apart.

I had Makegood working a few months ago with an earlier version and PHPUnit. I just came back to it and updated everything and now I'm getting a very frustrating error of
Call to undefined funciton Stagehand\TestRunner\Core\workingDirectoryAtStartup() in /usr/share/php/Stagehand/TestRunner/Core/Bootstrap.php on line 93.

This appears to be a problem with Stagehand but there is no user guide for Stagehand nor is there a user guide for the latest version of MakeGood so I'm really at a loss here.

How to open Test Results and Failure Trace at the same time? The old version (1.9) is better.

Very much looking forward to this working for Eclipse 3.6. The views and launch choices are exactly what I'm looking for - better even than Zend Studio's! Couldn't get it fully working due to a couple of exceptions at the moment, but hopefully will be fixed up soon.

Working perfectly once you understand your test files must end in .Test.php (capital T). Allows to run tests each time you save a file, allows to debug tests just like regular php code... Very good plugin.