Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Welcome to the Monastery
 
PerlMonks  

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.

Comment on Awesome Test::Class tutorial series at Modern Perl Books.
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlnews [id://753684]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2014-04-19 00:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (473 votes), past polls