FULL TESTING PLAN — MokoSuiteLibrary complete stack validation #3

Open
opened 2026-06-23 18:26:22 +00:00 by jmiller · 1 comment
Owner

Master testing issue for MokoSuiteLibrary. All testing checklists are added as comments on this issue.

Master testing issue for MokoSuiteLibrary. All testing checklists are added as comments on this issue.
Author
Owner

Testing Checklist

Helpers

  • CatalogHelper — full-text search with MATCH AGAINST, filters (type, category, available_only), getItem with copies
  • CheckoutHelper — checkout sets due date, checkin calculates return, renew extends due date, getOverdue
  • ReservationHelper — reserve gets next queue position, fulfillNext notifies patron, getQueue ordered
  • FineHelper — calculate overdue fine by days × rate, getPatronBalance, recordPayment updates paid amount, waive with reason

SQL

  • Install creates 7 tables (items, copies, patrons, checkouts, reservations, fines, fine_payments)
  • FULLTEXT index on items (title, subtitle, author, description)
  • Copy status ENUM: available, checked_out, on_hold, damaged, lost

Component

  • Dashboard shows catalog stats, overdue count, reservations pending
  • Catalog, Patrons, Checkouts, Reservations, Fines views render

API

  • CRUD routes for all 5 endpoints (items, patrons, checkouts, reservations, fines)

CRM Integration

  • Patrons link to CRM contacts when CRM installed (class_exists check)
  • Graceful degradation when CRM not present

Package

  • pkg_mokosuitelibrary.xml installs cleanly
  • dlid and updateservers present
## Testing Checklist ### Helpers - [ ] CatalogHelper — full-text search with MATCH AGAINST, filters (type, category, available_only), getItem with copies - [ ] CheckoutHelper — checkout sets due date, checkin calculates return, renew extends due date, getOverdue - [ ] ReservationHelper — reserve gets next queue position, fulfillNext notifies patron, getQueue ordered - [ ] FineHelper — calculate overdue fine by days × rate, getPatronBalance, recordPayment updates paid amount, waive with reason ### SQL - [ ] Install creates 7 tables (items, copies, patrons, checkouts, reservations, fines, fine_payments) - [ ] FULLTEXT index on items (title, subtitle, author, description) - [ ] Copy status ENUM: available, checked_out, on_hold, damaged, lost ### Component - [ ] Dashboard shows catalog stats, overdue count, reservations pending - [ ] Catalog, Patrons, Checkouts, Reservations, Fines views render ### API - [ ] CRUD routes for all 5 endpoints (items, patrons, checkouts, reservations, fines) ### CRM Integration - [ ] Patrons link to CRM contacts when CRM installed (class_exists check) - [ ] Graceful degradation when CRM not present ### Package - [ ] pkg_mokosuitelibrary.xml installs cleanly - [ ] dlid and updateservers present
Sign in to join this conversation.
No labels
Priority Medium
Type Feature
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoSuiteLibrary#3