Determining the number of attempts for a test
As soon as you have added a test as component in a course, select the test and then click on Edit → Learning Logic → Define Rule.

When defining the follow-up action, you can also specify the number of attempts allowed.
