|
From: Leonardo R. A. <le...@hi...> - 2002-01-16 20:46:25
|
On Wed, 2002-01-16 at 17:08, Albertas Agejevas wrote: > On Wed, Jan 16, 2002 at 03:50:09PM -0200, Leonardo Rochael Almeida wrote: > > [...] instead of > > verifying a verbosity component we could have a template collection > > name, which would be a directory name to be appended to > > 'Products/ZUnit/dtml/TestMonitor/' inside which we would look for dtmls > > named "error", "succes", etc. > > > > [...] > > A neat idea in fact. This solution is definitely cleaner than my > patch. In this case, do you mind implementing and commiting it? After that we could even scan the dtml/TestMonitor directory for other directories inside and create a drop box for the user to choose his skin collection. We'd assume that any directory inside dtml/TestMonitor is a skin collection besides the [Default] collection. > I even begin to doubt if we need an acquired presentation > directory, if it only takes to drop in a new > Products/ZUnit/dtml/TestMonitor subdirectory to add a new 'skin'. Well, I wouldn't discard the idea of the TTW skins so fast. There are people who are much more used to working from inside Zope than in the filesystem. It's much more versatile to be able to change skins insite ZMI, 'cause you don't have to reload ZUnit or restart Zope to make it work. > The test cases still aren't TTW anyway... Well, have you tried importing ZUnitTTWProto.xml in the Products folder? :-) Cheers, Leo -- Ideas don't stay in some minds very long because they don't like solitary confinement. |