Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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

by kyle (Abbot)
on Mar 27, 2009 at 15:09 UTC ( [id://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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (6)
As of 2024-03-28 23:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found