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
This commit is contained in:
Patrick Donelan 2009-05-15 10:33:47 +00:00
parent fd5f53e628
commit 7829d708ea
9 changed files with 720 additions and 23 deletions

View file

@ -42,6 +42,7 @@ sendWebguiStats($session);
addDataFormColumns($session);
addListingsCacheTimeoutToMatrix( $session );
addSurveyFeedbackTemplateColumn( $session );
addSurveyTestResultsTemplateColumn( $session );
installCopySender($session);
installNotificationsSettings($session);
installSMSUserProfileFields($session);
@ -227,6 +228,16 @@ sub addSurveyFeedbackTemplateColumn {
}
#----------------------------------------------------------------------------
sub addSurveyTestResultsTemplateColumn {
my $session = shift;
print "\tAdding columns for Survey Test Results Template..." unless $quiet;
$session->db->write("alter table Survey add column `testResultsTemplateId` char(22)");
print "Done\n" unless $quiet;
}
#----------------------------------------------------------------------------
# Your sub here
sub installCopySender {