I thought I'd try out simpletest following Dries' endorsement of real testing.

Just to see how it works I ran it against the latest D6 and image.module.
Got 1 dozen fails out-of-the-box.

Here's a patch that updates the simpletest/tests/image_module.test to allow for the change from 'Submit' to 'Save' button that happened in the node save form. The drupalPost() calls didn't work no more...

There are likely to be other places this has to happen also, but this is still just experimental testing for me.

CommentFileSizeAuthor
simpletest_image-test_strings_update.patch1.72 KBdman

Comments

boombatower’s picture

Status: Active » Closed (won't fix)

The image module is not part of core so the test has been removed. The test should be placed in the image modules itself in a folder called test.

You can checkout a previous version of SimpleTest containing the test and submit it with the patch to the Image module queue.

Thanks for the work.