Hi everyone, 

        I'd like to start a little thread here on date testing. As all of you date 
module writers know, 
one of the most important things to have in a date module is a set of strong test 
cases, the stronger
your tests are, the more reliable your module will be in the long run. How many times 
have you heard
a fellow co-worker or CPAN'er saying "How does your module deal with [special case 
x]?". 

        Basically, I'd like to start a discussion on what we could do to provide 
unified test cases
to all the perl date modules. Wether this takes the form of a simple database of 
special cases, just
a list or else a complete unified test framework, doesn't really matter, what's 
important is that
we have an evolving test case set. Basically, I think we need a way to classify 
[special case x] and make
it available to be integrated in a module's test suite. 

        Of course, we need to take in consideration the different interface every 
module has, even
the date set they use (i.e. Mayan or Discordian or Banzaloo), but if we can come up 
with a simple, storable
and indexable date special case format, we can distribute it and have every date 
module test against it.


Anybody into that ?

Ben


-- 
Benoit Beausejour - ([EMAIL PROTECTED]) - (aka SaKa)
http://www.flatlineconstruct.com
460 St-Catherine Ouest, Suite 210
Montreal, Quebec H3P 1A7 
T: (514) 876-7881 F: (514) 876-9223

PGP signature

Reply via email to