Tests
A test is a part of a course variant and consists, similarly to the navigation, of a hierarchical structure of test items.
Attributes
The test
element supports the following attributes:
Attribute | Type | Default | Description |
---|---|---|---|
feedback |
TestFeedbackMode |
detailed |
Controls the amount of feedback the user gets shown after completing the test. |
fullscreen |
xs:boolean |
false |
Whether or not the test should be presented in fullscreen mode to the user. If this is set to true, the browser will switch to fullscreen mode as long as the test is running. |
maxattempts |
xs:positiveInteger |
- | Number of allowed attempts at this test. If this attribute is not present, the user can try the test as often as wanted. |
maxduration |
TimeDuration |
- | Maximal time duration (in the format hh:mm:ss) that the user may take to complete the test. If this attribute is not set, the user has unlimited time to complete the test. |
name |
xs:Name |
- | Name of the tests. Must be unique among all names in this course variant. |
navigation |
TestNavigationOption |
full |
Navigation options for the user during the test. |
tags |
TokenList |
Whitespace-separated list of tags that this test should have. |
The testitem
element supports the following attributes:
Attribute | Type | Default | Description |
---|---|---|---|
maxduration |
TimeDuration |
- | Maximal time duration (in the format hh:mm:ss) that the user may take to complete the test item. If this attribute is not set, the user has unlimited time to complete the test item. |
name |
xs:Name |
- | Name of this test item, must be unique among all names in this course variant. |
tags |
TokenList |
Whitespace-separated list of tags that this test item should have. |