ESDet / esdportal_profile

drupal install profile for portal.excellentschoolsdetroit.org
0 stars 4 forks source link

Unit tests for E3 contacts and notes #43

Closed bnchdrff closed 8 years ago

bnchdrff commented 8 years ago

Using Drupal Simpletest, write unit tests to cover the process of creating, reading, updating, and deleting e3_note and e3_contact entities.

Cover functions found in the e3_contact_api and e3_note_api sections: https://github.com/ESDet/esdportal_e3/blob/7.x-1.x/esdportal_e3.module#L450-L592

Unit testing with Simpletest

Fork https://github.com/ESDet/esdportal_e3/ and store tests in a new directory tests/.

bnchdrff commented 8 years ago

Note that some of the load/save/delete functions don't return a testable result; we're only worried about the functions that do return something!