terminal only returns 'starts'
vschaefer opened this issue · 3 comments
Hello, i despair a bit on :(
I've set up my environment, as you described it in the documentation. When I run the tests on the command line it only returns starts
and nothing else. I've attached a screenshot of the console.
Do you have an idea where the problem could be?
Thank you in advance for your help
Best regards
Volker Schaefer
@vschaefer most likely your tests folders aren't set up properly at phpunit.xml
.
However, I've also found errors like these before with edge PHPUnit versions, when 4.x was being introduced. But Travis runs fine with 4.5.0.
@vschaefer I am currently updating the project and I revisited a similar bug, probably that's what's bugging you in some way:
CodeIgniter tries to parse command line arguments as your URI, and so any command argument can screw your test start. Since you're not using phpunit
but php phpunit.phar
, I imagine a start
argument somewhere in that .phar script must be causing that.
I don't know if you're already using CI 3.0.0, but if you are, I just pushed a new project update that can help you with that, if not downright solve it. Try to debug my hack in system/core/URI.php
to see what's been done to your $uri
variable there.
Hello, sorry for my very late reply and thank you very much for your help.
At the moment I work much otherwise and have no time to continue the project in which I use your library.
Best Regards
Volker