[Bioperl-l] Test related Suggestions
bix at sendu.me.uk
Thu Jul 5 11:56:29 EDT 2007
Sendu Bala wrote:
> Sendu Bala wrote:
>> Nathan S. Haigh wrote:
>>> Thinking about this a little more, I think it would be a good idea to
>>> include Test::Exception in t/lib.
>> Agree. I'll see if I can have it auto-loaded by BioperlTest.pm.
> I've now done that: BioperlTest loads Test::Exception, from the copy in
> t/lib if necessary.
> So, in BioperlTest-using scripts you now have access to the methods
> dies_ok, lives_ok, throws_ok and lives_and.
And I've also now added in support for Test::Warn, giving you
warning_is, warnings_are, warning_like and warnings_like.
I've updated the HOWTO as well:
You can see these things in action in t/seq_quality.t
More information about the Bioperl-l