-
Improvement
-
Resolution: Fixed
-
Major
-
2.8.1
-
MOODLE_28_STABLE
-
MOODLE_27_STABLE, MOODLE_28_STABLE
-
At the moment, a lot of behat tests involving questions do their set-up through the UI. This is slower than it should be, especially since we have a generator for questions.
It should be possibl to say something like
And the following "question categories" exist:
|
| contextlevel | reference | name |
|
| Course | C1 | Test questions |
|
And the following "questions" exist:
|
| questioncategory | qtype | name | questiontext |
|
| Test questions | essay | Test question to be copied | Write about whatever you want |
|
Note we already have a generator for questions, we just need to hook it up.