Showing posts with label Perl and Testing. Show all posts
Showing posts with label Perl and Testing. Show all posts

Wednesday, November 7, 2012

TestAnything.org :TAP::Parser Cookbook

the cookbook

2013-02-05: The website is up again, but I can't get hold on the cookbook.

2012-11-19: When I tried to look a little around on TestAnything.org in November 2012, the web-site was rather broken. I looked the domain name up on whois.net, found Andy Armstrong and his e-mail address, and dropped him a note. This is how the error message looked like:

Test Anything Protocol has a problem
Sorry! This site is experiencing technical difficulties.
Try waiting a few minutes and reloading.
(Can't contact the database server: Unknown database 'testanything' (localhost))

TAP = Test Anything Protocol - Wikipedia, the free encyclopedia

Test Anything Protocol - Wikipedia, the free encyclopedia

Monday, November 5, 2012

CPAN: Test::Tutorial - A tutorial about writing really basic tests

Test::Tutorial - A tutorial about writing really basic tests - metacpan.org

I wrote some code to test a customer's perl code, not having (had) a look at Test::More or whatever beforehand.
After completing my task, I tweaked my code to make use of Test::More. Now it's optionally creating TAP.
My next step: reading and exercising.

Wednesday, September 26, 2012

chromatic's book "Modern Perl"

Q: Where to download from? A: [Link]

Table of Contents

  • Unicode and Strings [Link]
  • Moose [Link]
  • Testing [Link]
  • POD [Link]
  • transforming a main program into a module, so that we can test also it local subroutines separately [handling main], [controlled execution] –– I call this "main à la Python"

O'Reilly Media book: Advanced Perl Programming, 2nd Edition

Advanced Perl Programming, 2nd Edition - O'Reilly Media


Just put the 1st paperback edition on top of the batch going to the charitable book collection.

From the TOC:

  • Chapter 8: Testing; with a subchapter on "Keeping Tests and Code Together" within POD sections of the source code

Monday, September 24, 2012

O'Reilly Media book: Perl Testing: A Developer's Notebook


Perl Testing: A Developer's Notebook - O'Reilly Media

Is there any sexier topic in software development than software testing? That is, besides game programming, 3D graphics, audio, high-performance clustering, cool websites, et cetera? Okay, so software testing is low on the list. And that's unfortunate, because good software testing can increase your productivity, improve your designs, raise your quality, ease your maintenance burdens, and help to satisfy your customers, coworkers, and managers. […]

In chapter 7 ("Testing Web Sites") the book has a rather nice example on recording a web-surfing session, that creates a perl script to replay that session: "Record and Play Back Browsing Sessions". But  they say, there is trouble with HTTP::Recorder as of the time of writing of that book – and it still does not really work for me. How bad. Nice but unusable.

chromatic in "Modern Perl" on Testing

Managing Real Programs (Modern Perl 2011-2012)

Thursday, August 2, 2012

O'Reilly Media book: Intermediate Perl, 2nd Edition

Intermediate Perl:
Get a clear roadmap for improving your skills with Intermediate Perl, and gain working knowledge of Perl's objects, references, and modules—ingredients that make the language so versatile and effective. Written by the authors of the bestselling Llama book, Learning Perl, and updated for Perl 5.14, this book offers a gentle but thorough introduction to intermediate programming in Perl.

  • Chapters 14 and 20: testing
  • Chapter 12: Creating Your Own Perl Distribution; has a section on "Plain Ol’ Documentation" (POD)
  • Chapter 19: Moose
  • Chapter 13 and 15: OO