BrowserUK,
    I dropped
tom a quick note and am looking into his module. Thanks for the link =).
(
Update:The main difference with my approach and
LectroTest is that it uses property definitions that you define manually and I am trying to infer these automatically from run time data.
    This still means that you are required to so some manual work, but you can just say I expect *this* result of *that* type and it can hound it with a series of tests to make sure this is the case, which would be far more cumbersome to create by hand.
    My approach can only *infer* what these characteristics are based on the input data. The more data (quantity and diverisity) you provide the better chance it would have of say inferring that inferring that the return value is generally 1 .. 100 rather than 1 .. 3 because you only supplied it a few samples. Ultimately Tom's module is a more robust method, but requires a little configiring on your the users part to get the best out of it (but, doesn't everything), but as
BrowserUK pointed out, similar concepts, slightly different approaches.
)
Regards Paul.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.