• warning: DOMXPath::query(): Invalid expression in /var/www/ictedge/sites/all/modules/print/lib/dompdf-0.5.1/include/stylesheet.cls.php on line 573.
  • warning: DOMXPath::query(): Invalid expression in /var/www/ictedge/sites/all/modules/print/lib/dompdf-0.5.1/include/stylesheet.cls.php on line 573.
  • warning: Invalid argument supplied for foreach() in /var/www/ictedge/sites/all/modules/print/lib/dompdf-0.5.1/include/stylesheet.cls.php on line 575.

Unit Tests

Unit tests were a big part in the development of ZEPRS. Unit tests are available for the following types:

  • Display - WidgetUtils - test rendering of widgets
  • DWR - test AJAX
  • Persistence - test DAO's for many of the domains
  • Struts - Cactus tests
  • XML - XML output test

DAO methods were refactored heavily and many of those tests fail, however, PageItemTest works fine and is a good model for getting all of the DAO tests working. The goal is to fix the broken tests and run continuous integration tests on the server.