Re: simpletest vs phpunit vs ... [message #180497 is a reply to message #180459] |
Fri, 22 February 2013 12:15 |
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
|
|
|