Welcome Guest, Not a member yet? Register   Sign In
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




Theme © iAndrew 2016 - Forum software by © MyBB