• last updated 2 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Tighten test for is_wf_instance

Previously, the test was based on setting of state and FormPage.

In cases, where plain FormPages are used inside an xowf package

this test was leading to wrong results.

  1. … 1 more file in changeset.
prefer global variable over proc

  1. … 6 more files in changeset.
switch from xo::db::sql to acs::dc interface

  1. … 12 more files in changeset.
provide a clean representation of questions to reduce hacking and complexity

file test-helper-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./test-helper-procs.tcl
As we cannot know which kind of exercise we got on a page in advance due to randomization, make the parameter we send for an answer dependant on the question type we find

Store statistics in a separate page instead of the workflow itself

- advantages:

* smaller workflow instance

- no danger that page is too large for caching, even for large exams.

- smaller objects mean also better performance

* modification date in exam is not modified when statistics

are updated

* easier extensible

- New function WorkflowPage->childpage

easy to use interface for creating child pages

- render_submission=exam_protocol: changed name of

parameter "-form_objs" to "-filter_form_ids", since

form_objs are used typically to keep objects, not ids

- Still to do: policy for inclass-exam-statistics.wf

- Bumped version number to 5.10.1d25

  1. … 5 more files in changeset.
Fix comment

Simplify test logics, bring comment closer to relevant code

Improve robustness of xowf.create_test_items automated test: make sure that the exercise appearing is actually supposed to render 2 images

Fixes xowf.create_test_items automated test

list covered test cases

  1. … 2 more files in changeset.
streamline and extend test cases for resolving in composite items and in preview workflows

  1. … 1 more file in changeset.
Make the test stricter: name the files all different so that their existance in the src of an img tag is certain for each of them

Cleanup redundant definition

added test case for SELF referemce

improve spelling

extended regression test

- show difference between [[image:...]] and [[.SELF./image ...]]

- cleanup test

Extend xowiki.create_test_items automated test:

in the content of questions, use .SELF. references which should point to images stored underneath the question itself. Show that when the questions are used inside of exams, the .SELF. reference will currently not be resolved to the question and result in an unresolved link.

added a test for checking the results of the preview of test-items

Since the preview workflow requires a multiple redirects, xowiki::test::edit_form_page

requires a new flag refetch to actually turn off automatic refetching of the result

page, since this does not give us access to the redirect location returned by

the edit command.

  1. … 3 more files in changeset.
added test case for composite test item

Test ::xowf::Package proc create_new_workflow_page

Extended regression test for test item procs

- compose exam by three exericises instead of one

- added test for short-text exercise with a file submission

- exam contain now a text exercise, a short-text exercise

with a file submission, and a MC question

- test case fills out first two questions in the test case

- bumped version number due to dependency on xowiki

(option "-next_page_must_contain" for "xowiki::test::edit_form_page")

  1. … 1 more file in changeset.
update covered procs in test case

extend regression test by including participants page during and after exam

force en_US locale

use language prefix from system locale

improve listing of covered methods

fix regression test which was broken due to last change (move of links to answer panel)

  1. … 1 more file in changeset.
whitespace changes

perform proper login for all tests