Welcome Guest, Not a member yet? Register   Sign In
Using ci-phpunit-test for Multiple Projects
#1
Question 

The ci-phpunit-test library is great, but I am looking for a way for multiple projects to share it so that I don't have to add over 900 files to each project. Ideally, it would sit in a shared location and each project would just have the files with the unit tests for that project.
I'd appreciate advice on handling this.

https://kenjis.github.io/ci-phpunit-test
Reply
#2

How about using symlink?

After installing ci-phpunit-test, run the following commands:
Code:
$ cd /path/to/your/codeigniter/application/test
$ rm -rf _ci_phpunit_test
$ ln -s /path/to/ci-phpunit-test/application/tests/_ci_phpunit_test/ .
Reply
#3

Works perfectly!  Big Grin

Might I suggest adding a short section to your project's readme about this?

Thanks for your quick reply! You've done great work!
Reply
#4

Added Tips page: https://github.com/kenjis/ci-phpunit-tes...cs/Tips.md
Reply




Theme © iAndrew 2016 - Forum software by © MyBB