Port to Drupal 5.x

Jo Wouters - March 29, 2007 - 21:56
Project:Selenium
Version:HEAD
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:postponed
Description

The selenium.module should be ported to Drupal 5.x
I volunteered, in concert with Grugnog2

#1

sehatrosny - April 25, 2007 - 20:10

Any body has start working on Port to Drupal 5.x for selenium?

#2

Jo Wouters - May 22, 2007 - 20:42

It took me some more time then expected, but I updated the module.
Using cck node types for the tests, suites and results gives us some extra posibilities (views, rss-feeds, etc).

I created 3 custom cck nodes:

  1. Selenium test: title and source code of the selenium test + a link to run the tests (computed field)
  2. Selenium Suite: title and links to selenium tests (with nodereference) + a link to run the tests (computed field)
  3. Selenium Results: all fields that are returned by the selenium application

Views can be used to show an overview of the tests, suites and results.

This makes the module depend on these non-core modules:
content nodereference computed_field text number content_copy views

All code, including the 3 exported content types and 3 exported views can be found in attachment.

Please, consider this very beta: there are some important issues:

  • It does not work (yet) with clean urls off
  • the code is not 'clean' yet; their might be some security-considerations
  • importing new content-types does not work flawless; I had to manually adapt some code to succesfully import all fields.
  • At this moment the cck-field 'computed_field' can only be found in cvs HEAD
  • There is an issuesin Selenium Core 0.8.2 ( http://jira.openqa.org/browse/SEL-422 ) - so I had to patch core/scripts/selenium-testrunner.js

All remarks are welcome.

AttachmentSize
selenium_drupal5.tar_.gz5.32 KB

#3

attiks - May 6, 2008 - 20:28

subscribing

#4

Jo Wouters - June 11, 2008 - 15:07
Assigned to:Jo Wouters» Anonymous
Status:active» postponed

I'm sorry but I will not finish the D5 upgrade (I bet that's not a surprise). I haven't been working on this module the last 12 months.

See #2 for a working solution; but that's not an 'official' D5 release.

 
 

Drupal is a registered trademark of Dries Buytaert.