• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CI-PHPUnit run from root directory

#1
Hello All,

I have phpunit and ci-phpunit running with CI 3.1.6.  Based on my novice level of understanding, I have unit tests running, but I have to go to <project directory>/application/tests and then run phpunit from there.

Is there a way to run phpunit from <project directory>?

The only thing I could come up with a symlink but, since ci-phpunit has an index.php and rewrites core functionality, I didn't think it would be all that straight forward.  Meaning, I can't create a symlink named index.php, as it conflicts with ci index.php.  If I create a symlink directory, then I would have to run tests via phpunit <symlink directory>.

Anything you can think of would be appreciated.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.