On Mon, 20 Oct 2003, Gabor Szabo wrote:

> > > 2) use Test::More for these new tests.
> >
> > Why?  That would add a new dependency for the module.  I got enough
> > flak when I started using Test.pm!
>
> That's true and I was a bit worried about it but Test::More is already in
> 5.8.0 and based on a presentation of Schwern and chromatic I understand
> that nearly all the important modules already require it so it is quite
> likely that any user of H:T will already have it in older Perls as well.

I don't want to make existing users of HTML::Template install a new
module just to upgrade HTML::Template.  I did it once when I switched
to Test.pm and I got enough trouble from that!

> The part which is difficult to test is to emulate errors. That's what I
> meant but let's put the above on hold till I get my tests out as I also
> think that most likely it won't be necessary.

It's not difficult to test for errors.  Just feed a bad template and
trap the die() with eval{}.

> - a couple of new files under t/ and tmpl/

Can we have a t/ and still use the existing test.pl?  I have a dim
memory that the two are exclusive...

-sam


-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to