Tags:
create new tag
, view all tags

Hard to Test TWiki Features

There are some TWiki features that are hard to fully unit test, because they require subjective review or complex interacting script calls. I want to kick off a discussion of test areas that need to be addressed. Specific areas I'm nervous about are:

Missing Unit Tests

There are many missing unit tests:
  • There should be a Fn_TEST for every TWiki variable implemented by the core
  • There should be a test case for every CGI script that tests its parameters

-- Contributors: CrawfordCurrie - 09 Sep 2007

Discussion

Javascript, and browser or session variable things can be tested using the JSUnitContrib - What we need is for someone to add the JSUnit server stuff to send back the error reports too....

And if the tests are written in a scripted fashion, I can add them to the nightly builds - with emails on failure.

-- SvenDowideit

 
Topic revision: r5 - 2007-09-18 - CrawfordCurrie
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.