[Solar-talk] Solar Testing via external test library

Clay Loveless clay at killersoft.com
Wed Oct 4 09:32:51 PDT 2006


On Oct 4, 2006, at 9:09 AM, Paul M Jones wrote:

> Sounds OK to me, if we can get a guru to convert the existing tests
> then that's fine.  (Would be good to target PhpUnit3, I think, seeing
> as it's PHP5 and fully name-spaced, but arguments in favor of
> SimpleTest happily accepted.)

Interesting, interesting.

Some good points about depending on oneself to test oneself --  
probably best to have an external entity for testing.

While I like some things about SimpleTest as well, I think today's  
announcement of PHPUnit3's support for Selenium makes it a very, very  
strong contender for the preferred testing framework.

I've actually written an XSLT transformation for Selenium Remote  
Control's API (similar to those that come bundled with selenium-rc),  
and dubbed it Solar_Test_Selenium ... had a few things to finish up  
on it before sending it to Paul for final approval and then putting  
it up on the Solar PEAR Channel.

However, now that PHPUnit3 has Selenium support (haven't had a chance  
yet today to try it, however), I'd be in favor of using PHPUnit3 over  
SimpleTest.

PHPUnit3 is also the testing framework of choice for most unit-tested  
PEAR packages (that aren't using .phpt), so that's another good  
argument for it ... for those of us maintaining packages in PEAR,  
means we only need to get comfortable with one external testing  
framework.

-Clay

--
Killersoft.com





More information about the solar-talk mailing list