• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item4159: Run TestCases web from unit test suite

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension UnitTests Enhancement Closed   n/a  

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


People have been ignring the TestCases web becuase it isn't run automatically.

The automatic tests then could, and should, be run from the unit test suite.

-- TWiki:Main/CrawfordCurrie - 29 May 2007

This is a great initiative. Really really great!

The real unit tests are quite difficult to write as they require quite a lot of knowledge of object oriented perl and the test CPAN library.

The web based tests are much easier to put together. So yes, it will be a great help.

I tried to run the tests manually the good old way and many of them fail now. note that the TOC test only succeeded before when run from the run link inside the topic. It failed when run from the TestCases because the URL is different and the generated TOC is depending on the URL.

It is important that the test cases both pass in manual mode in a browser and automatically.

But I also see you did not close this bug item so I guess you know and are still working on the code.

But again GREAT INITIATIVE. This will make a difference in the right direction as there is now no excuse left to not run all test cases and at least make test cases in the test cases web. Great great great follow up - very much in line with my wish to get higher code quality. This makes it feasible for developers to make and run more tests more regularly. This gives you another Twiki heart.

-- KennethLavrsen - 29 May 2007

Summary Run TestCases web from unit test suite
ReportedBy TWiki:Main.CrawfordCurrie

SVN Range TWiki-4.1.2, Fri, 18 May 2007, build 13796
AppliesTo Extension
Component UnitTests
Priority Enhancement
CurrentState Closed

Checkins TWikirev:13976 TWikirev:13984
TargetRelease n/a

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r5 - 2007-06-22 - CrawfordCurrie
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback