moodle/mod/quiz/tests
Colin Chambers e1a2d0d92d MDL-43089 quiz: improved interface for building quizzes
This commit is actually the joint work of Mahmoud Kassaei, Colin
Chambers and Tim Hunt from The Open University. We could only use one
persons name for the commit, and this time Colin gets the credit/blame.

The goal of this work was to increase usability, and also clean up
the page enough that it will be possible to add new features in future.

Display of mod/quiz/edit.php is now entirely generated by
mod_quiz\output\edit_renderer. This uses a helper class
mod_quiz\structure to provide details of the structure of the quiz, and
mod_quiz\repaginate to alter that structure. (Acutally, there are still
some modification methods on mod_quiz\structure. Expect that to be
cleaned up in future.)

The new code uses much more ajax, and there are new scripts
mod/quiz/edit_rest.php and mod/quiz/repaginate.php to handle this.
(Again, don't be surprised if those two scripts get merged in future.)
Also questionbank.ajax.php (which may, in future, be made more generic,
and moved into the core question bank code.)

Most of the new JavaScript code has intentionally copied the way things
are done when editing activities on the course page.

As a result of this, mod/quiz/editlib.php is now much shorter than it
was. (In future, expect the remaining code in here to move into
mod/quiz/classes.)
2014-10-02 17:22:23 +01:00
..
behat MDL-43089 quiz: improved interface for building quizzes 2014-10-02 17:22:23 +01:00
fixtures MDL-44690 core_questions : amending unit tests 2014-03-25 14:37:51 +07:00
generator MDL-43749 normalise quiz database structure. 2014-03-02 10:00:40 +01:00
attempt_test.php MDL-46093 quiz review should default to showing everything on one page 2014-06-27 17:14:51 +01:00
attempt_walkthrough_from_csv_test.php MDL-45023 quiz statistics report : refactoring of tests for code reuse 2014-04-11 15:07:08 +07:00
attempt_walkthrough_test.php MDL-44690 core_questions : amending unit tests 2014-03-25 14:37:51 +07:00
attempts_test.php MDL-40074 quiz attempt walk through test 2013-07-14 16:45:26 +07:00
events_test.php MDL-45803 mod_quiz: removed usage of the function quiz_fire_attempt_started_event 2014-06-11 13:53:03 -07:00
generator_test.php MDL-35717 quiz: fix overdue attempt processing 2012-11-16 21:32:09 -05:00
lib_test.php MDL-43089 quiz: improved interface for building quizzes 2014-10-02 17:22:23 +01:00
locallib_test.php MDL-43089 quiz: improved interface for building quizzes 2014-10-02 17:22:23 +01:00
quizdisplayoptions_test.php MDL-43874 quiz, teacher comments should respect display options. 2014-01-27 12:01:32 +00:00
quizobj_test.php Merge branch '44180-27' of git://github.com/samhemelryk/moodle 2014-03-05 12:47:17 +08:00
repaginate_test.php MDL-43089 quiz: improved interface for building quizzes 2014-10-02 17:22:23 +01:00
reportlib_test.php MDL-44492 quiz reports: make show only graded attempt work. 2014-07-08 13:31:49 +01:00
structure_test.php MDL-43089 quiz: improved interface for building quizzes 2014-10-02 17:22:23 +01:00