|
|
|
Issue Links:
|
Relates
|
|
|
|
This issue has been marked as being related by:
|
|
|
|
|
|
MDL-19579
Add support to analyse code coverage in unit testing
|
|
|
|
|
|
|
| Participants: |
Eloy Lafuente (stronk7)
|
| Security Level: |
None
|
| Difficulty: |
Moderate
|
| Affected Branches: |
MOODLE_20_STABLE
|
| Fixed Branches: |
MOODLE_20_STABLE
|
|
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).
|
|
Description
|
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). |
Show » |
|