How to use CodeRunner tests inside lessons ?

How to use CodeRunner tests inside lessons ?

by Pierre FACON -
Number of replies: 1

Hello, 

I'm new to Moodle and CodeRunner.

I have a question which seems to me very basic, but i fail until now.

Once i have created a question test with code runner, how do i use it into a lesson for example ?

I tried export/import but nothing is exported.

How can we do ?

Thanks a lot,

Pierre, France

In reply to Pierre FACON

Re: How to use CodeRunner tests inside lessons ?

by Richard Lobb -

CodeRunner questions can only be used in quizzes - create a new quiz and add to it the questions you have (I assume) added to the question bank.

Moodle "Lessons" have their own (very limited) built-in feedback questions, which can be used to direct the path the student takes through the lesson. Lessons can't use the much more general questions supported by the Quiz Question API. [And if you think this a weird restriction, join the club.]

We use quizzes instead of lessons for this reason. You can insert "Description" pseudo-questions (they are unmarked) into the quiz to create a sequence of interleaved information panels and questions, much like a lesson.