Welcome Guest, Not a member yet? Register   Sign In
Unit Testing
#2

First off, in general you shouldn't test your private methods. That makes the tests too fragile. They're tested through the public API only. And PHPUnit is probably your best solution. CodeCeption is nice, too, but it's based on phpUnit...

This suite by forum member Kenjis is pretty nice. He's even got a pretty good book to go along with it. Tells all you need to know about testing and CI.
Reply


Messages In This Thread
Unit Testing - by acsv - 03-14-2016, 02:38 PM
RE: Unit Testing - by kilishan - 03-14-2016, 07:25 PM
RE: Unit Testing - by acsv - 03-14-2016, 09:24 PM
RE: Unit Testing - by Narf - 03-15-2016, 06:24 AM
RE: Unit Testing - by albertleao - 03-14-2016, 09:05 PM
RE: Unit Testing - by kenjis - 03-15-2016, 05:52 AM
RE: Unit Testing - by kilishan - 03-15-2016, 06:46 AM
RE: Unit Testing - by Narf - 03-15-2016, 07:29 AM
RE: Unit Testing - by kilishan - 03-15-2016, 10:09 AM



Theme © iAndrew 2016 - Forum software by © MyBB