|
From: Gabor S. <sz...@gm...> - 2009-03-11 13:11:38
|
On Wed, Mar 11, 2009 at 2:11 PM, Marcus Baker <ma...@wo...> wrote: > Hi... > > Gabor Szabo wrote: >> I'd be glad to receive your comments about it. > > 1) You got all the autorun stuff in, which is cool! You probably > need to point out that the 1.0.1 version of SimpleTest does not work > with the E_STRICT setting. It does work with PHP 4.2.2 to PHP 5.3 > though. You would need the 1.1 version which is PHP 5.0.3+ to PHP 6 > to be compatible with E_STRICT. I hope you'll keep the old version around as I am quite sure there are tons of legacy applications that would need testing and that won't upgrade PHP. > 2) It's not explained in the docs, but assertTrue() needs a message > as a second parameter, hence the hole where one should be. It's a > legacy restriction which will disappear now that you've reminded me > of it :(. > > Otherwise cool! Hmm, what hole are you talking about? For what I understood assertTrue() as all the other assertMethods() will accept an *optional* extra parameter as a messages. Isn't that the case? > Need a guest article on the web tester (which is the biggest feature > of SimpleTest)? Sounds cool but let me first try to write what I understand and then you write the expert version. If that's ok with you. >> I plan to add more of these but I am sure I'll also have >> questions as I am not yet familiar with SimpleTest. > > Fair enough. I'm right in the middle of updating the docs for a > version 1.1 release. Hopefully it will be out by the time you do > your next post. Again, I think you should also keep the docs for the older versions as many people won't be able to use the new one. At least not till they write tons of tests so they can risk the upgrade. I am now trying to subclass the reporting class, but I don't understand how can I tell autorun to use my ShowPasses class (copied from the docs). Oh and the docs say to require simple_test.php while I think it should be simpletest.php Gabor |