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


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

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2007-09-18 - CrawfordCurrie
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.