Create SimpleTest for the Coder SQL Review
| Project: | Coder |
| Version: | 6.x-1.x-dev |
| Component: | SimpleTest |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Now that #281399: Create Simpletest for the Coder 6.x Style Review has been committed, we need tests written for each of the 4 reviews. This task is a DROP task for creating the coder_sql.test file.
Before simpletest existed, the "Coder tests" were simply a bunch of unused include files in the tests directory. So you should find things to test by looking at tests/coder_sql.inc.
As an extra bonus, look at the includes/coder_sql.inc file and make sure that there is a test for each rule.
You should download the coder module and create a coder_sql.test file in the tests directory. You'll need to know/learn how to create a patch file that adds a new file. For this, see creating patches.
See also #301113: Create SimpleTest for the Coder Comment Review and #301109: Create SimpleTest for the Coder 6.x Upgrade Review

#1
I went ahead and finished this myself.
#2
Automatically closed -- issue fixed for two weeks with no activity.