~azzar1/unity/add-show-desktop-key

  • Committer: stevenbird
  • Date: 2008-02-18 09:11:10 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:495
Fixes to permit content authors to produce nicer diagnostic responses as a result
of automatic tests on a submitted exercise: the XML "problem" format is extended
to permit two new attributes on the function element: succeed and fail, each providing
the text string to be used depending on the result of the test. 

/www/apps/tutorialservice/test/TestFramework.py:TestCasePart
* made ident et al into classmethods (fixing a commented complaint that
  these receive self as first argument)
* replaced redundant lambda functions with references to these class methods
* running a test case now puts the succeed vs fail string in the description
  depending on the result

/www/apps/tutorialservice/test/parse_tute.py:getCasePartData()
* added support for two new attributes on function elements: succeed, fail
* default value comes from existing attribute desc for backwards compatibility

Filename Latest Rev Last Changed Committer Comment Size
..
notes 8 17 years ago mattgiuca doc: Added directory "notes", with all the design Diff
setup 322 17 years ago mattgiuca Added doc/setup - a setup guide specific to our co Diff
tutorial 304 17 years ago dilshan_a Added documentation of output of TestSuite. Diff
app_howto.txt 345 17 years ago mattgiuca Global CSS change: ivlebody no longer has 1em of p 8.5 KB Diff Download File
dependencies.txt 427 17 years ago mattgiuca setup.py: Fix (put conf.py in wrong list in listma 1.5 KB Diff Download File
Makefile 67 17 years ago mattgiuca doc: Added app_howto doc, a guide on IVLE apps int 104 bytes Diff Download File
template.py 97 17 years ago mattgiuca Moved template.py and setup.py to better places. w 871 bytes Diff Download File