Skip to content
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

Makegood 3.1.0 + PHPUnit 4.1.4 as phar + Eclipse Luna - how to? #67

Open
wyssman opened this issue Jul 31, 2014 · 1 comment
Open

Makegood 3.1.0 + PHPUnit 4.1.4 as phar + Eclipse Luna - how to? #67

wyssman opened this issue Jul 31, 2014 · 1 comment
Labels

Comments

@wyssman
Copy link

wyssman commented Jul 31, 2014

Can't figure out how to configure Eclipse + Makegood to use PHPUnit in phar archive. I added external phar In Eclipse project properties - PHP Include Path - Libraries, Makegood sees PHPUnit_Framework_TestCase class and can execute tests, but when I run test, error occures: Class 'PHPUnit_Framework_TestSuite' not found (in \resources\php\vendor\piece\stagehand-testrunner\src\Collector\PHPUnitCollector.php on line 124).

After long experiments I installed PHPUnit via Composer and added "require_once 'vendor/autoload.php';" in preload script, but I don't need Composer, phar is more convinient.

But how can I use PHPUnit as phar? PHPUnit will not be distributed as PEAR package, so please update official User Manual (http://piece-framework.com/projects/makegood/wiki/User_Guides_v1).

@Archanciel
Copy link

Hi,

You may find useful having a look on the end of the doc I wrote here: https://github.com/Archanciel/Joomla_3_vs_15_PHPUnit_testing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants