suggested task writeup:

Summary: Write Simpletest tests to check the node revision system

Having a full suite of tests for Drupal 6.x core functionality using the Simpletest module would be a major step forward for the project to insure that new code does not introduce bugs into basic functionality. New core tests will be committed to the Simpletest project and used for automated testing by http://testing.drupal.org.

For this task, you need to first install and familiarize yourself with the simpletest module (use the cvs HEAD version with Drupal HEAD/6.x Beta):
http://drupal.org/project/simpletest
http://drupal.org/simpletest

The main work for this task is to write a small suite of tests to check the basic functionality of node revisions. This suite should be written as a single .test file and should achieve RTBC status in the Simpletest module issue queue.

Suggested tests:

1. node/#/edit Create a new revision. Enter a log message and ensure that it shows up @ node/#/revisions
2. node/#/revisions Revert to a previous revision. Confirm that the reversion occurs.
3. node/#/revisions Delete a revision. Confirm that it is gone and that node/#/revisions/#/view is not found

Comments

cwgordon7’s picture

Status: Active » Needs work

My feedback:

1) Sounds awesome! Very nice, interesting task.

2) Only problem: if I had no idea what the simpletest module was (as most GHOP students won't when they read this) I would have no idea what you were talking about. Try adding more information about what simpletest actually is in this description.

Setting to code needs work; feel free to set to code needs review when you've revised it.

-cwgordon7

pwolanin’s picture

webchick’s picture

Status: Fixed » Closed (fixed)

Marking closed to take out of listings.