FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » simpletest vs phpunit vs ...
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: simpletest vs phpunit vs ... [message #180497 is a reply to message #180459] Fri, 22 February 2013 12:15 Go to previous messageGo to previous message
Simon is currently offline  Simon
Messages: 29
Registered: February 2011
Karma:
Junior Member
On 2013/02/19 10:05 AM, Simon wrote:
> Hi,
>
> I currently use Simpletest to unit test the back-end of my site, (I
> still aim to cover the front-end at some later stage).
> I have about 2000 tests and try to write more every day...
>

As a test<sic>, I installed PHPUnit and migrated the tests, (it turns
out it is fairly straightforward for most cases).

Off the bat, I cannot see any major improvements in the tests, apart
from code coverage.

Code coverage alone is, to me at least, a major plus.

Some of my critical code, that I thought was well covered, only has 37%
coverage.

While I don't want to become militant about code coverage, there are
some functions that I definitely need to re-look at and add some testing
for.

So PHPUnit is a definite win for now.

Simon
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: unset multidimensional array element
Next Topic: php url question
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Nov 25 04:33:21 GMT 2024

Total time taken to generate the page: 0.04111 seconds