Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Awesome Test::Class tutorial series at Modern Perl Books.

by kyle (Abbot)
on Mar 27, 2009 at 15:09 UTC ( #753684=perlnews: print w/replies, xml ) Need Help??

I have learned greatly from the series of articles by Ovid posted at Modern Perl Books about Test::Class. If you're ready to take your testing to the next level, this is a great place to learn the ropes from someone who knows.

  1. Organizing Test Suites with Test::Class — A basic example, testing a "Person" class made with Moose.
  2. Reusing Test Code with Test::Class — Refactoring tests to avoid duplicating code.
  3. Making Your Testing Life Easier — Code to automatically discover your tests, vim aliases to ease testing, and more.
  4. Using Test Control Methods with Test::Class — Methods that run before and after tests similar to BEGIN and END blocks.
  5. Working with Test::Class Test Suites — Make your classes behave like xUnit classes, performance, and more.

I've been using what I've learned here in a new project recently, and I've been very happy with the results.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlnews [id://753684]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (11)
As of 2018-06-21 08:35 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (117 votes). Check out past polls.