Quantcast
Channel: CodeIgniter Forums - All Forums
Viewing all articles
Browse latest Browse all 14348

CI-PHPUnit run from root directory

$
0
0
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.

Viewing all articles
Browse latest Browse all 14348

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>