test-item-procs.tcl

  • last updated 6 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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

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.
remove unneeded line

Perform proper login with the test user such that session_ids and cookies are correctly setup

use test user_id instead of current user for running tests

  1. … 1 more file in changeset.
fix typo

extend regression test: provide tests of the basic life-cycle steps of the inclass-exam

added test cases, improved test coverage

added test case creating a text- and MC-item and an inclass exam

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