Issue Details (XML | Word | Printable)

Key: MDL-19057
Type: Sub-task Sub-task
Status: In Progress In Progress
Priority: Critical Critical
Assignee: Eloy Lafuente (stronk7)
Reporter: Eloy Lafuente (stronk7)
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle
MDL-14679

Complete coverage of DDL/DML tests

Created: 04/May/09 07:38 AM   Updated: 31/Aug/09 06:59 AM
Return to search
Component/s: Database SQL/XMLDB
Affects Version/s: 2.0
Fix Version/s: 2.0

Issue Links:
Relates
 

Participants: Eloy Lafuente (stronk7)
Security Level: None
Difficulty: Moderate
Affected Branches: MOODLE_20_STABLE
Fixed Branches: MOODLE_20_STABLE


 Description  « Hide
Review current DDL/DML tests, filling missing ones and completing them to cover all the stuff and cases.

Some things to review:

 testing insert/update/set_field nulls, insert/update/set_field string data in numeric fields, insert/update/set_field boolean data into numeric/varchar/text fields, select/insert/update/set_fieldempty varchar and text fields, lowercase fieldnames, defaults... functions without params... sql_helper() functions..., limits when fetching records, all the get_columns() information, returned id on insert, get_indexes (with some column named, "time" because of PG internals).

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Eloy Lafuente (stronk7) added a comment - 29/Jun/09 06:14 AM
table related methods coverage completed. Committing because I need all the changes in CVS before computer switch tomorrow.

Eloy Lafuente (stronk7) added a comment - 31/Jul/09 06:20 AM
add/drop field and change_field_type() completed. More coming.

Eloy Lafuente (stronk7) added a comment - 31/Aug/09 06:59 AM
Wow, just discovered a bunch of missing bits when working in MDL-17969. Expect more and more tests soon!