<?xml version="1.0" encoding="windows-1252"?>
<node id="753684" title="Awesome Test::Class tutorial series at Modern Perl Books." created="2009-03-27 11:09:35" updated="2009-03-27 11:09:35">
<type id="23614">
perlnews</type>
<author id="585085">
kyle</author>
<data>
<field name="doctext">
&lt;p&gt;I have learned greatly from the series of articles by [Ovid] posted at [http://www.modernperlbooks.com/|Modern Perl Books] about [mod://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.
&lt;ol&gt;
&lt;li&gt;[http://www.modernperlbooks.com/mt/2009/03/organizing-test-suites-with-testclass.html|Organizing Test Suites with Test::Class] &amp;mdash; A basic example, testing a "Person" class made with [mod://Moose].&lt;/li&gt;
&lt;li&gt;[http://www.modernperlbooks.com/mt/2009/03/reusing-test-code-with-testclass.html|Reusing Test Code with Test::Class] &amp;mdash; Refactoring tests to avoid duplicating code.&lt;/li&gt;
&lt;li&gt;[http://www.modernperlbooks.com/mt/2009/03/making-your-testing-life-easier.html|Making Your Testing Life Easier] &amp;mdash; Code to automatically discover your tests, vim aliases to ease testing, and more.&lt;/li&gt;
&lt;li&gt;[http://www.modernperlbooks.com/mt/2009/03/using-test-control-methods-with-testclass.html|Using Test Control Methods with Test::Class] &amp;mdash; Methods that run before and after tests similar to &lt;c&gt;BEGIN&lt;/c&gt; and &lt;c&gt;END&lt;/c&gt; blocks.&lt;/li&gt;
&lt;li&gt;[http://www.modernperlbooks.com/mt/2009/03/working-with-testclass-test-suites.html|Working with Test::Class Test Suites] &amp;mdash; Make your classes behave like xUnit classes, performance, and more.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;I've been using what I've learned here in a new project recently, and I've been very happy with the results.</field>
</data>
</node>
