create simpletests

deekayen - August 7, 2008 - 15:20
Project:Validation API
Version:6.x-1.0
Component:Documentation
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs work
Description

Part of the push at the Boston Drupalcon was to add to the testing frameworks used in Drupal. Creating tests with the Simpletest module is the way to do that in Drupal 6.

#1

TapocoL - August 18, 2008 - 21:11

Committed the first 2 simpletests.

- One adds, edits and deletes a validator.
- One imports a validator from a hook, makes sure it updates properly and disconnects it from the hook.

I will keep this issue updated until the simpletests are complete.

#2

court-jus - July 10, 2009 - 08:45
Version:6.x-1.x-dev» 6.x-1.0
Category:feature request» bug report
Status:active» needs work

hum, on my setup (6.x-1.0), the validation_api/tests/validator.test makes a call to assertClone which does not exist in simpletest. Maybe your module is dependent of a newer version of simple test ?? (I have 6x-2.8)

 
 

Drupal is a registered trademark of Dries Buytaert.