forked from pshentsoff/testomania
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Readme.txt
64 lines (53 loc) · 6.65 KB
/
Readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
Представляю вам плагин CMS Livestreet для проведения тестирований и управления тестами Testomania.
ЛИЦЕНЗИЯ
Плагин предоставляется на основании лицензий GNU GPL v2, ознакомиться с лицензией вы можете открыв файл License.txt
или по адресу http://www.gnu.org/licenses/old-licenses/gpl-2.0.html.
Copyright 2013 by Vadim Pshentsov <[email protected]>
Если у вас возникли вопросы по поводу лицензирования вы можете ознакомиться с FAQ тут http://habrahabr.ru/post/45878/
ОПИСАНИЕ
Принцип работы с плагином прост.
Тесты состоят из вопросов, которые, в свою очередь содержат варианты ответов. Кроме того, к тесту относятся результаты теста.
Для создания теста необходимо сначала создать запись теста, указать параметры теста (описаны далее). Затем добавить вопросы
тестирования. После этого задаются варианты ответов для каждого из вопросов и указывается количество соответствующих баллов
за каждый вариант ответа. И последним необходимо указать результаты теста - промежутки набранных баллов (от нижнего
значения для каждого варианта), либо прописать функцию обработки результатов (javascript) в виде исключения (указывается
в соответствующем поле теста).
Тесты:
- Имя - машиино понятное имя теста, используется для организации ссылок на тест;
- Наименование - титул теста, видимый тестируемым;
- Краткое описание - выводится для краткой справки о тесте, например в списке доступных тестов;
- Шаблон - шаблон, обычно не указывается, при этом используется прописанный по-умолчанию;
- Логотип - URL логотипа теста;
- Порядок - порядковый номер для сортировки в списке тестов;
- Опубликован - доступен ли тест для посетителей
- Описание - полное описание теста, выводится полным объяснением к тесту на странице тестирования
- Функция анализа результатов - обычно тесты обрабатываются стандартной функцией проверки по параметрам результатов
(будет описано далее). Но при необходимости можно задать тело функции на javascript для обработки результатов теста.
Значение набранных баллов пр этом передается параметром 'value'. Функция должна вернуть строку - сообщение результа
тестирования. Параметры результатов при этом никак не используются.
При удалении теста соответственно удаляются относящиеся к тесту вопросы, варианты ответов и результаты.
Вопросы:
- Порядковый номер вопроса;
- Вопрос - текст вопроса.
Вопросы можно добавлять блоками по нескольку штук сразу (максимум 50, задается в конфиге).
Удаление вопроса влечет за собой и удаление соответствующих ему вариантов ответов.
Варианты ответов:
- Порядковый номер варианта ответа;
- Количество баллов варианта ответа (вес);
- Вариант - текст варианта ответа.
Варианты ответов можно добавлять блоками по нескольку штук сразу (максимум 10, задается в конфиге).
Варианты ответов можно копировать на все вопросы теста. ВНИМАНИЕ! При этом варианты ответов заданные прежде удаляются.
Результаты тестирования:
- Баллы нижнее значение (включительно) - нижнее значение баллов при котором выбирается этот вариант результатов.
Первая запись как правило имеет минимально возможное количество баллов, которое можно получить при тестировании.
Обычно это значение равно нулю. Промежуток вычисляетмся до значения следующего по баллам результата.
- Результат теста - текст, который соответствует данному результату.
История версий:
версия 1.1.1
- убрано поле порядкового номера результата, сортировка производится по весу(значению баллов) результата
- добавлено органиечение на добавление блоками вопросов и вариантов ответов (значения лимитов задаются в конфиге)
версия 1.0 - первая рабочая версия Testomania
- тесты, вопросы, варианты ответов, результаты тестирования
- возможность добавлять вопросы и варианты ответов блоками по несколько позиций
- возможность задавать индивидуальную ф. обработки результатов
- URL логотип можно указывать только