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

Unable to run the Atoum tests #14

Open
matason opened this issue May 21, 2014 · 0 comments
Open

Unable to run the Atoum tests #14

matason opened this issue May 21, 2014 · 0 comments
Labels

Comments

@matason
Copy link

matason commented May 21, 2014

This could be a case of me doing something wrong so apologies in advance if that's the case!

Steps to repeat.
git clone [email protected]:chanmix51/SlapOM.git
cd SlapOM
Download mageekguy.atoum.phar into current directory
php mageekguy.atoum.phar -d tests/SlapOM/Tests/Units

Expected
The tests to run and some feedback

Actual
Fatal error: Cannot redeclare class mageekguy\atoum\autoloader in phar:///Users/matason/Code/hosting-dashboard/vendor/chanmix51/mageekguy.atoum.phar/1/classes/autoloader.php on line 6

Call Stack:
0.0326 2347280 1. mageekguy\atoum\scripts\runner::mageekguy\atoum\scripts{closure}() phar:///Users/matason/Code/hosting-dashboard/vendor/chanmix51/SlapOM/mageekguy.atoum.phar/1/classes/scripts/runner.php:0
0.0326 2348352 2. mageekguy\atoum\scripts\runner->run() phar:///Users/matason/Code/hosting-dashboard/vendor/chanmix51/SlapOM/mageekguy.atoum.phar/1/classes/scripts/runner.php:539
0.0329 2349048 3. mageekguy\atoum\script\configurable->run() phar:///Users/matason/Code/hosting-dashboard/vendor/chanmix51/SlapOM/mageekguy.atoum.phar/1/classes/scripts/runner.php:206
0.0387 2391872 4. mageekguy\atoum\script->run() phar:///Users/matason/Code/hosting-dashboard/vendor/chanmix51/SlapOM/mageekguy.atoum.phar/1/classes/script/configurable.php:89
0.0397 2427984 5. mageekguy\atoum\scripts\runner->doRun() phar:///Users/matason/Code/hosting-dashboard/vendor/chanmix51/SlapOM/mageekguy.atoum.phar/1/classes/script.php:266
0.0547 3782840 6. mageekguy\atoum\runner->run() phar:///Users/matason/Code/hosting-dashboard/vendor/chanmix51/SlapOM/mageekguy.atoum.phar/1/classes/scripts/runner.php:1047
0.0547 3783888 7. mageekguy\atoum\runner->includeTestPaths() phar:///Users/matason/Code/hosting-dashboard/vendor/chanmix51/SlapOM/mageekguy.atoum.phar/1/classes/runner.php:395
0.0593 3785832 8. mageekguy\atoum\includer->includePath() phar:///Users/matason/Code/hosting-dashboard/vendor/chanmix51/SlapOM/mageekguy.atoum.phar/1/classes/runner.php:725
0.0593 3786592 9. mageekguy\atoum\runner->mageekguy\atoum{closure}() phar:///Users/matason/Code/hosting-dashboard/vendor/chanmix51/SlapOM/mageekguy.atoum.phar/1/classes/includer.php:56
0.0600 3875864 10. include_once('/Users/matason/Code/hosting-dashboard/vendor/chanmix51/SlapOM/tests/SlapOM/Tests/Units/Connection.php') phar:///Users/matason/Code/hosting-dashboard/vendor/chanmix51/SlapOM/mageekguy.atoum.phar/1/classes/runner.php:716
0.1951 4156200 11. require_once('/Users/matason/Code/hosting-dashboard/vendor/chanmix51/mageekguy.atoum.phar') /Users/matason/Code/hosting-dashboard/vendor/chanmix51/SlapOM/tests/SlapOM/Tests/Units/Connection.php:7
0.2075 4254736 12. require_once('phar:///Users/matason/Code/hosting-dashboard/vendor/chanmix51/mageekguy.atoum.phar/1/classes/autoloader.php') /Users/matason/Code/hosting-dashboard/vendor/chanmix51/mageekguy.atoum.phar:21

I'll continue to investigate and see if I can find out what I am doing wrong but I've posted here in case anyone else has experienced this and can advise of a solution!

@chanmix51 chanmix51 added the bug label May 22, 2014
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

2 participants