Testing with PHPUnit and Selenium

Sebastian Bergmann » 13 September 2007 » in Presentations » 3 Comments

Here is the presentation material I used during my tutorial at php|works 2007 yesterday:

Defined tags for this entry: , , , , ,

Trackback specific URI for this entry

3 Comments to "Testing with PHPUnit and Selenium"

Display comments as (Linear | Threaded)
  1. Joshua May
    14/09/2007 at 06:31 Permalink
    Nice, thanks!

    I've been writing a plugin for symfony to use PHPUnit instead of their testing framework.

    Only issue I've had (in PHPUnit 3.2 at least) is that all of the methods and variables on PHPUnit_Util_Log_TAP are private instead of protected - I wanted to add colour support, which means overwriting way more than I needed to.

    Other than that, the Selenium integration is wonderful, and PHPUnit is making me happy to be a PHP dev again!

    Reply

  2. Sebastian Bergmann
    14/09/2007 at 13:39 Permalink
    Hello Joshua,

    I opened up the TAP class and changed the attributes and methods in question to be protected instead of private.

    HTH,
    Sebastian

    Reply

  3. Joshua May
    14/09/2007 at 14:30 Permalink
    Thanks so much! That'll save me writing nasty comments about you in the PHPDoc ;)

    Cheers,
    Josh

    Reply

0 Trackbacks to "Testing with PHPUnit and Selenium"

  1. No Trackbacks

Add Comment


To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

Submitted comments will be subject to moderation before being displayed.