good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
The problem is that ok() is tied to the Test::Builder testing
and reporting harness and LectroTest uses a different underlying
harness because of all the trials it does. (Maybe I should
investigate integration?)
Anyway, if you want to use Test::Builder-based modules for their testing features and not for their harness features (which is the case when you are using them inside of LectroTest properties), you can (hackishly) redefine Test::Builder's ok() method to simply return the result status without doing anything else. Using Test::More for the example:
Testing it out:
I hope that this helps. Cheers, Tom Moertel : Blog / Talks / CPAN / LectroTest / PXSL / Coffee / Movie Rating Decoder In reply to Re: Can I use Test::Differences with Test::LectroTest?
by tmoertel
|
|