Drupal tests for dummies? (SimpleTest, Selenium, DAST oh my)
Hello world, I want to start integrating tests into code I write. I now sit in a room with 5 Java/RoR ninjas and they make fun of PHP and the fact that I didn't know what JUnit was. :P I want to be able to talk trash back to them. I know there is simpletest, selenium and I saw some things about this http://drupal.org/project/DAST as well. Is there one that many agree on as being the future for Drupal tests? If so, any recommendations on where to start? I looked into simpletest and it seemed nice enough, but I'd like to jump in to the right boat. Thanks, RobRoy
On 8/16/07, Rob Barreca <rob@electronicinsight.com> wrote:
Hello world,
I want to start integrating tests into code I write. I now sit in a room with 5 Java/RoR ninjas and they make fun of PHP and the fact that I didn't know what JUnit was. :P I want to be able to talk trash back to them.
I know there is simpletest, selenium and I saw some things about this http://drupal.org/project/DAST as well. Is there one that many agree on as being the future for Drupal tests? If so, any recommendations on where to start? I looked into simpletest and it seemed nice enough, but I'd like to jump in to the right boat.
* simpletest: code level unit tests * selenium: front end "black box" testing -- e.g. write a test that simulates a user making a blog post * DAST: one of a number of systems for automation Simpletest is the place to start. -- Boris Mann Office 604-682-2889 Skype borismann http://www.bryght.com
* simpletest: code level unit tests * selenium: front end "black box" testing -- e.g. write a test that simulates a user making a blog post
This is only needed for JS. Simpletest is a browser as well. Simpletest has a number of core tests already while there are no tests for selenium. Indeed, simpletest is the way to go. Regards, NK
the simpletest web site has outstanding documentation. start there. the drupal implementation of simpletest has decent docs too - http://drupal.org/simpletest. On 8/17/07, Rob Barreca <rob@electronicinsight.com> wrote:
Karoly Negyesi wrote:
Indeed, simpletest is the way to go.
Cool, thanks guys.
-R
participants (4)
-
Boris Mann -
Karoly Negyesi -
Moshe Weitzman -
Rob Barreca