Graham Knop
9b725c6d42
use temp config file for testing
2010-06-10 10:09:54 -05:00
Graham Knop
b832deecd1
convert all cleanup methods to addToCleanup
2010-06-10 10:09:53 -05:00
Patrick Donelan
0265e1dfbd
Fixed Survey::Test diagnostics when comparing complex data structures
2009-07-03 01:39:16 +00:00
Patrick Donelan
3e5d5804f6
Made Survey tests a little less dependent on multiple choice bundle defaults
2009-06-16 06:25:09 +00:00
Colin Kuskie
f5851c96ff
Graceful dying without TAP::Harness v3
2009-06-11 17:03:32 +00:00
Patrick Donelan
5acade845a
Fixed Survey test suite 'tagged' check to work with nested data
2009-06-03 07:15:52 +00:00
Patrick Donelan
1a4b673843
Made Survey Test Suite feature was dependent on TAP::Parser and TAP::Parser::Aggregator
2009-05-29 01:04:45 +00:00
Colin Kuskie
67cce548ff
Add enableSurveyExpressionEngine to default WebGUI conf file.
...
Rerun the upgrade subroutine to handle newer surveys.
Handle the config option being off in Survey/Test.t
2009-05-28 23:28:52 +00:00
Patrick Donelan
beff1d2166
Survey NYTProf performance improvements
...
initSurveyOrder now builds a lookup cache to speed up branching
Test suite caches surveyOrder and response itself
Unnecessary sub calls reduced
Updated tests
My largest survey instance test suite, which contains > 1000 tests,
now runs nearly 8 times faster.
2009-05-28 07:24:11 +00:00
Patrick Donelan
d14cf19e9d
Added Survey tests for more question types
2009-05-28 07:23:43 +00:00
Patrick Donelan
3a25e806c6
Survey bug fixes
...
Fixed bugs in the handling of logical sections,
creating of responses and counting of responses.
Added in a bunch of new tests.
Jslinting of all survye js files
2009-05-23 09:54:03 +00:00
Patrick Donelan
302e217e7a
Survey test suite added support for checking answer properties
2009-05-21 08:22:11 +00:00
Patrick Donelan
f55559e124
Survey: fixed subtle bug in testing of answers with recordedAnswer set to q{}
2009-05-21 08:21:54 +00:00
Patrick Donelan
d246454b2f
Survey: fixed bugs in handling of test setup & Slider question type
2009-05-21 08:21:35 +00:00
Patrick Donelan
8baf09948e
Fixed bug where ResponseJSON was not properly resetting between
...
tests. Refactored out reset() sub to make it easy for people to
achieve reliable resetting of rJSON objects.
2009-05-21 08:21:17 +00:00
Patrick Donelan
59329e9718
Survey tweaks
...
Added Survey 'Tagged' question type, which builds its answers dynamically from tagged data
Made Survey test suite more forgiving about JSON parsing
2009-05-19 02:45:45 +00:00
Patrick Donelan
9cbd30c3d8
Refactored Survey test suite diagnostics etc..
2009-05-17 08:15:59 +00:00
Patrick Donelan
3105b27034
Improved Survey test setup
2009-05-16 09:06:00 +00:00
Patrick Donelan
4d181da7f9
SurveyJSON bug fixes
...
Fixed bug in SurveyJSON::update to stop it updating questionType when not asked
Fixed unsafe reference bug in SurveyJSON::getMultipleChoiceBundle
Added more Survey Test Suite tests
2009-05-16 07:24:55 +00:00
Patrick Donelan
7e0796cc78
Some minor Survey bug fixes
...
Removed evil "use JSON -support_by_pp"
test() and test_mc() now intelligently start at the right place and give better TAP descriptions
2009-05-16 01:13:20 +00:00
Patrick Donelan
2bde3dc02c
Moved Survey test upgrade to 7.7.6-7.7.7 upgrade script
2009-05-15 23:42:10 +00:00
Patrick Donelan
7829d708ea
Survey test suite now functional.
...
Tests are defined via a JSON-encoded spec, through Web Crud interface
Test results are TAP encoded, and TAP parsed and prettified into HTML
Added i18n, help and tests
2009-05-15 10:33:47 +00:00