oat-sa/extension-tao-testqti

extension to create QTI tests

Installs: 99 869

Dependents: 22

Suggesters: 0

Security: 0

Stars: 9

Watchers: 46

Forks: 11

Type:tao-extension

v48.18.0 2024-12-20 12:10 UTC

This package is auto-updated.

Last update: 2024-12-20 17:15:11 UTC


README

codecov

Extension to create QTI tests into TAO

About the new test runner

The new test runner uses now a more consistent format for the config, but a mapping is made to convert the current server config to the new format. So if new entries are added to current config, the class has to be updated to support this new entry.

Now the review plugin is related to the item categories, so the category x-tao-option-reviewScreen need to be set on each navigable item. The mark for review button is related to the category x-tao-option-markReview

Here is a list of known category options:

REST API

QTI Test REST API

Results variables transmission

Provided by triggering corresponding events

oat\taoQtiTest\models\event\ResultItemVariablesTransmissionEvent::class
oat\taoQtiTest\models\event\ResultTestVariablesTransmissionEvent::class

Asynchronous handling of this event can be provided by running next command

php index.php 'oat\taoQtiTest\scripts\tools\ResultVariableTransmissionEvenHandlerSwitcher' --class 'oat\taoQtiTest\models\classes\eventHandler\ResultTransmissionEventHandler\AsynchronousResultTransmissionEventHandler'

or manually updating DI config file taoQtiTest/ResultTransmissionEventHandler by next code

<?php
/**
 * Default config header created during install
 */

return new oat\taoQtiTest\models\classes\eventHandler\ResultTransmissionEventHandler\AsynchronousResultTransmissionEventHandler();

Environment variables