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 |
Jump to:
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
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
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)