SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Guru OfficeOfTheLaw's Avatar
    Join Date
    Apr 2004
    Location
    Quincy
    Posts
    636
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Acceptence testing Frameworks for PHP?

    Hi,

    After a 5 month break from PHP (my current job is a java environment) I'm finally back into working on a PHP project and have a small problem. In Java (and in Ruby) environments I use fitnesse for acceptence testing, and just love the framework (and have even written a few plugins). Anyhow, I can't seem to find a php version, and I can't seem to find a similar acceptence testing framework.

    Are there any out there?

    James Carr, Software Engineer


    assertEquals(newXPJob, you.ask(officeOfTheLaw));

  2. #2
    simple tester McGruff's Avatar
    Join Date
    Sep 2003
    Location
    Glasgow
    Posts
    1,690
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There is a project struggling to be born Arbiter. It hasn't been active for a while. I'm feeling kind of guilty about not helping out as I promised - buried under a big workload at the moment. Progress will be made soon though.

  3. #3
    eschew sesquipedalians silver trophy sweatje's Avatar
    Join Date
    Jun 2003
    Location
    Iowa, USA
    Posts
    3,749
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Have you looked over Selenium?
    Jason Sweat ZCE - jsweat_php@yahoo.com
    Book: PHP Patterns
    Good Stuff: SimpleTest PHPUnit FireFox ADOdb YUI
    Detestable (adjective): software that isn't testable.

  4. #4
    SitePoint Guru OfficeOfTheLaw's Avatar
    Join Date
    Apr 2004
    Location
    Quincy
    Posts
    636
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by sweatje
    Have you looked over Selenium?
    Sadly no ... I attended a session on it at the No Fluff Just Stuff conference earlier this year and have been meaning to try it out, but unfortunately haven't gotten time. But as far as I know it's only for testing the front end isn't it?

    Thanks,
    James

    James Carr, Software Engineer


    assertEquals(newXPJob, you.ask(officeOfTheLaw));

  5. #5
    eschew sesquipedalians silver trophy sweatje's Avatar
    Join Date
    Jun 2003
    Location
    Iowa, USA
    Posts
    3,749
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by OfficeOfTheLaw
    Sadly no ... I attended a session on it at the No Fluff Just Stuff conference earlier this year and have been meaning to try it out, but unfortunately haven't gotten time. But as far as I know it's only for testing the front end isn't it?

    Thanks,
    James
    Yep, at it's core a js library to drive tests from inside of a browser. That is pretty cool in and of itself, but there is also a Selinium IDE, which is a Firefox extension and is supposed to include a test recorder. Alas, like you, I never seem to put together enought time to give it a thourough test drive.
    Jason Sweat ZCE - jsweat_php@yahoo.com
    Book: PHP Patterns
    Good Stuff: SimpleTest PHPUnit FireFox ADOdb YUI
    Detestable (adjective): software that isn't testable.

  6. #6
    SitePoint Guru silver trophy Luke Redpath's Avatar
    Join Date
    Mar 2003
    Location
    London
    Posts
    794
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Im a fan of Selenium and have started using it recently to do proper* functional/acceptance testing for my Rails apps. I'm sure Selenium could be used to test a PHP app because its fairly language agnostic.

    *I'm of the strongly held opinion that what Rails calls "functional" tests out of the box are nothing more than unit tests for controllers...useful for testing code (test-first) but not for what I consider proper acceptance testing, which is testing functionality from a end user/stakeholder point of view

  7. #7
    SitePoint Zealot
    Join Date
    Sep 2005
    Posts
    122
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Luke Redpath
    I'm sure Selenium could be used to test a PHP app because its fairly language agnostic.
    It can and it does. Selenium is totally client-side so regardless of how the server produces the HTML, it will be testable using Selenium.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •