Le 2 Mar 2007 à 02:15, Kieren Diment a écrit :

On 02/03/07, Dylan Vanderhoof <[EMAIL PROTECTED]> wrote:
I'm not really sure how to write a test case for something that only fails using IE (as best I can tell).

Any suggestions?


That's why I suggested HTTP::Recorder. Then convert the recording to a Test::WWW::Mechanize[::Catalyst] script.

However, as I noted, HTTP::Recorder is a bit buggy and so it might not work :(

And even if it does, it might turn out to be a heisenbug :-((


Test::WWW::Selenium is your friend. I setup some front-end tests with it, using the Firefox plugin to quickly have a working skeleton then looping over this using Test::LectroTest, and I found it very easy to run, and incredibly powerful. Much easier than writing T:W:Mechanize based tests, all the more so as I never could have Recorder DWIM :) You have to use the selenium rc, but the setup is far from complex.

David Morel



Attachment: PGP.sig
Description: Ceci est une signature électronique PGP

_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to