problems:
1. the glossary tests seems to be silently dying. i wonder if it's in an infinite loop. it's hard to debug.
2. main portfoliotest has: require_once($CFG->dirroot . '/mod/forum/simpletest/test_forum_portfolio_callers.php'); which doesn't exist. The following might be a better approach:
// Load tests for various modules
require_once($CFG>dirroot . '/mod/forum/simpletest/test_forum_portfolio_callers.php');
require_once($CFG>dirroot . '/mod/glossary/simpletest/test_glossary_portfolio_callers.php');
require_once($CFG>dirroot . '/mod/assignment/simpletest/test_assignment_portfolio_callers.php');
+foreach (get_list_of_plugins('mod') as $module) {
+ $modtest = $CFG->dirroot . '/mod/' . $module . '/simpletest/test_' . $module . '_portfolio_callers.php';
+ if (file_exists($modtest)) {
+ require_once($modtest);
+ }
+}
things i can think of we need to test
portfolio plugins
----------------------
callers
----------
general
-----------
- prepare_package returns true
- send_package returns true
callers ----------- sha1 is consistent from the start to finish (i notice that some places seem to be affected by prepare_package calling functions that pass by reference and modify things)
- prepare_package returns true
general -----------