Unit test CI project |
(03-24-2015, 08:23 PM)chelw117 Wrote: I am currently using PHPUnit to unit test CI projects. However, there are not suitable tools for me to integrate PHPUnit with CI. What type of tools do you need? It's just PHPUnit at it's simplest. You will need to do a touch of prepping to get the CI object available to your tests. The best place to start is to probably examine the tests that come with CodeIgniter as they are all done in PHPUnit. The Bootstrap.php file that it comes with looks to do a pretty thorough job of setting up the environment for you, and there's plenty of tests to look at for examples. |
Messages In This Thread |
Unit test CI project - by chelw117 - 03-24-2015, 08:23 PM
RE: Unit test CI project - by s4if - 03-25-2015, 07:00 AM
RE: Unit test CI project - by chelw117 - 03-25-2015, 04:10 PM
RE: Unit test CI project - by rodolfosilva - 04-02-2015, 10:54 AM
RE: Unit test CI project - by alkarim - 04-23-2015, 06:51 AM
RE: Unit test CI project - by kenjis - 05-09-2015, 11:22 PM
RE: Unit test CI project - by kilishan - 05-10-2015, 07:34 PM
|