in reply to Data Validation Tests

Make API open so anybody can add new test types with plugin modules without modifying source code of your module.

BTW have you looked on Data::Verify? It seems to be a similar project. Have you considering cooperation?

--
Ilya Martynov, ilya@iponweb.net
CTO IPonWEB (UK) Ltd
Quality Perl Programming and Unix Support UK managed @ offshore prices - http://www.iponweb.net
Personal website - http://martynov.org

Replies are listed 'Best First'.
Re: Re: Data Validation Tests
by Flame (Deacon) on Jan 26, 2003 at 15:26 UTC

    An open API is already in the design. Just load the module and refer to it as a 'custom' test. I already have a test module (count and compare) that uses that mechanism because it needed to be able to curry the function.

    As for Data::Verify, I have looked at it, but I'm not sure if it's really practical to try to combine them directally. It's still on my "To Be Considered" list.



    My code doesn't have bugs, it just develops random features.

    Flame ~ Lead Programmer: GMS | GMS

      Use "Data::Type" instead (was Data::Verify).
      
       - Now "quite" stable api (alpha).
       - 90% of your requested "value types"
       - Documentation extended.
       - Added more tests.
      
      I am always happy about new ideas and contributions via http://www.sf.net/projects/datatype or directly to me. Greetings, Murat (murat.uenalan@cpan.org) </re>