PHPackages                             oat-sa/extension-tao-testqti - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. oat-sa/extension-tao-testqti

ActiveTao-extension

oat-sa/extension-tao-testqti
============================

extension to create QTI tests

v50.2.1(1mo ago)9110.0k↓36.4%11[3 issues](https://github.com/oat-sa/extension-tao-testqti/issues)[15 PRs](https://github.com/oat-sa/extension-tao-testqti/pulls)20GPL-2.0-onlyPHP

Since Dec 3Pushed 1mo ago41 watchersCompare

[ Source](https://github.com/oat-sa/extension-tao-testqti)[ Packagist](https://packagist.org/packages/oat-sa/extension-tao-testqti)[ Docs](http://www.taotesting.com)[ RSS](/packages/oat-sa-extension-tao-testqti/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (24)Versions (1148)Used By (20)

extension-tao-testqti
=====================

[](#extension-tao-testqti)

[![codecov](https://camo.githubusercontent.com/a028431e5f38a7971d3232ab510be8a7dea27f1c712e2cc50f57063600a8f70d/68747470733a2f2f636f6465636f762e696f2f67682f6f61742d73612f657874656e73696f6e2d74616f2d746573747174692f6272616e63682f6d61737465722f67726170682f62616467652e7376673f746f6b656e3d4c327054587531376b7a)](https://codecov.io/gh/oat-sa/extension-tao-testqti)

Extension to create QTI tests into TAO

About the new test runner
-------------------------

[](#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:

OptionDescription`x-tao-option-reviewScreen`Enable the review/navigation panel`x-tao-option-markReview`Enable the mark for review button when the review/navigation panel is enabled`x-tao-option-exit`Allow to finish and exit the test`x-tao-option-nextSection`Enable the next section button`x-tao-option-nextSectionWarning`Enable the next section button, display a confirm message`x-tao-proctored-auto-pause`Enable autopause before entering the next sectionREST API
--------

[](#rest-api)

[QTI Test REST API](https://editor.swagger.io/?url=https%3A%2F%2Fraw.githubusercontent.com%2Foat-sa%2Fextension-tao-testqti%2Fmaster%2Fdoc%2Fswagger.json)

Results variables transmission
------------------------------

[](#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

```
