testing

TwitterFacebook
Get flash to fully experience Pearltrees
c

Unit Testing Your Documentation

by Leonard Richardson 09/07/2006 When O'Reilly editor Mike Loukides contacted me about co-writing the Ruby Cookbook , I was apprehensive. http://onlamp.com/pub/a/onlamp/2006/09/07/unit-testing-docs.html
http://jamesshore.com/Blog/Red-Green-Refactor.html

James Shore: Red-Green-Refactor

For an example of test-driven development in practice, see my Let's Play TDD screencast .
Here's what a TAP test stream looks like: 1..4 ok 1 - Input file opened not ok 2 - First line of the input valid ok 3 - Read the rest of the file not ok 4 - Summarized correctly # TODO Not written yet http://testanything.org/wiki/index.php/Main_Page

Test Anything Protocol

Still More Perl Lightning Articles

http://www.perl.com/ Perl makes writing Twilio telephony applications simple and enjoyable.
What is Selenium?

Selenium

http://seleniumhq.org/
http://www.modernperlbooks.com/mt/2009/03/working-with-testclass-test-suites.html In this series, I've explained how to use Test::Class in Perl , how to reuse Test::Class tests , and how to simplify Test::Class tests , and how to manage data dependencies and fixtures with Test::Class tests .

Working with Test::Class Test Suites - Modern Perl Books, a Mode

Using Test Control Methods with Test::Class - Modern Perl Books,

When you understand Organizing Test Suites with Test::Class , Reusing Test Code with Test::Class , and Removing Boilerplate Testing Code , you'll likely to discover that you need to have special code run at the start and end of a class and at the start and end of every test method. http://www.modernperlbooks.com/mt/2009/03/using-test-control-methods-with-testclass.html
http://www.modernperlbooks.com/mt/2009/03/making-your-testing-life-easier.html

Making Your Testing Life Easier

After absorbing the information in Organizing Test Suites with Test::Class and Reusing Test Code with Test::Class , you're probably beginning to understand how Test::Class can make managing large codebases easier. If you've worked with test cases before, you've likely realized that test code is still code.
After reading Organizing Test Suites with Test::Class , you're probably and saying "that's a heck of a lot of work just for testing a class." If this were all there is to it, you'd be perfectly justified in forgetting about Test::Class . However, Test::Class really shines when it comes to code re-use. http://www.modernperlbooks.com/mt/2009/03/reusing-test-code-with-testclass.html

Reusing Test Code with Test::Class

Organizing Test Suites with Test::Class

http://www.modernperlbooks.com/mt/2009/03/organizing-test-suites-with-testclass.html When working with large test suites, using procedural tests for object-oriented code becomes clumsy after a while.