[Solar-talk] Solar Testing via external test library
Travis Swicegood
development at domain51.com
Mon Oct 16 08:55:05 PDT 2006
Hi all,
Paul M Jones wrote:
> If we do proceed with an external library, I prefer PHPUnit3 for one
> main reason: it is already E_STRICT compliant.
>
Fair enough point, although I don't know if I would consider it that big
of a deal.
> And to reiterate, I am not opposed to removing/replacing Solar_Test.
> I just don't have its replacement as a personal priority right now.
> If/when Solar_Test is replaced by PHPUnit3, it may be that we can re-
> purpose the Solar_Test namespace to provide convenience methods for
> working with PHPUnit3 (such as building test files, which Rodrigo
> noted can be difficult with PHPUnit3 and its use of file_exists).
>
> Travis, any new developments on this front since the last list posting?
>
I did so some basic testing with PHPUnit3, started on some of the Solar
methods. I ran into some limitations though in doing a SolarEnvironment
test as I specifically need to be able to test for expected PHP errors.
I can write my own assertError(), but I already knew that SimpleTest had
it so I wanted to float the idea.
-Travis
More information about the solar-talk
mailing list