• 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.

Background:

Item1759 added the ability to specify specific user templates when using bulk registration. The changes got lost in a major merge from 4.0.x; I added them back as best I could in item 2258, although last I tried they still weren't working quite right. (The item begs for help. Sigh.)

At any rate, I've added a comment for an unimplemented test in test/unit/RegisterTests, which is all that this item is actually about. Hopefully someone will fix problems with the custom templates and someone will either write a unit test for this feature or help me to do so. (I have never worked in a company that used unit tests, my perl isn't strong enough to figure out on my own how to do it in TWiki, and I'm under considerable time pressure.)

ML


Meredith, this report reads like "I wrote some code, but didn't write any tests, now it's broken, and I can't be arsed fixing it. Tough". I don't expect such an unprofessional approach from you.

Learn to write unit tests, please. It's trivial, especially when you are extending a set of existing tests. "I never learnt" is no excuse; we all have to learn other people's unit tests in order to extend them!!!

CC

Maybe it's trivial to you, Crawford, but it's not to me. I looked at the unit test code and didn't have the first idea what to do. When I'm stuck, I ask for help. If there's none to be had, what am I supposed to do?

ML

Discarded, as DEVELOP is no longer supported

CC

ItemTemplate
Summary No unit tests for bulk registration changes (develop branch only)
ReportedBy TWiki:Main.MeredithLesly
Codebase ~develop
SVN Range Sat, 06 May 2006 build 10108
AppliesTo Engine
Component

Priority Urgent
CurrentState No Action Required
WaitingFor

Checkins 10178
TargetRelease n/a
Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2006-09-16 - CrawfordCurrie
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback