Issue #61 - 2012-09-24 - Testing is hot (or cool?)

latest | archive | edited by Gabor Szabo
This edition was made possible by the supporters of our cause.
Don't miss the next issue!

Hi,

I am a bit confused by the two expressions. Is testing 'hot' or is it 'cool'? Or is that extremes in wording shows that something interesting is going on? Anyway, there are several testing-related articles this week, a subject I like quite a lot, and I am also announcing the first release of my testing e-book. See details of the book below.

Enjoy the articles

Gabor Szabo


Announcements

Test Automation using Perl e-book

This is the first public release of the testing e-book I started to write. I took the training material I use in my courses and started to add some text around it. It's a long project, but people who join me in the journey now, will get 50% discount.


Articles

Understanding the Catalyst Poll: Who Answered the Poll?

by John Napiorkowski (JJNAPIORK)

As you might recall, a few weeks ago John Napiorkowski ran a survey about the Catalyst MVC. This week he started to publish the results by describing the background of the people who answered the survey.

CPAN modules for getting a module's path

by Neil Bowers (NEILB)

Yet another great comparison article by Neil Bowers. This time he covered 14 modules, some of them doing a lot more than just getting the path of a module.

Text Processing: Divide and Conquer

How to get from 6:26 minutes run time to 3 seconds? Kirk Kimmel used the New York Times Profiler to pinpoint the areas where his code spent the most time, and step-by-step changed it to approaches better fitting the data.

Parsing on your new hyper-quantum computer

by Jeffrey Kegler (JKEGL)

If I understand it correctly, Jeffrey Kegler is solving the auto-threading problem for grammars. You write the grammar and Marpa will be able to execute it (or parts of it) on multiple cores without you doing extra work. Well, of course you first need to understand how Marpa works and how to build a grammar for it.


Discussion

How debugging can lead to a bug - was Deep cloning

by JT Smith (RIZEN)

What started out as complain about Clone.pm not working properly lead to a discovery that the Data::Printer module which is supposed to be the best data visualization module on CPAN, actually mangles the data in $a and $b. Then the less, that I've been preaching for years: never use $a and $b outside of sort! Not even in simple examples!


Testing

Perl interface to LDTP

by Sawyer X (XSAWYERX)

LDTP (Linux Desktop Testing Project) is a library that allows writing tests clicking on visual elements within a Linux desktop. A few weeks ago a new release was announce supporting 6 languages, but not including Perl. Sawyer saw the challenge and in the last few days he created a Perl binding to LDTP which is now going to be part of the official LDTP tree.

Mass-Testing Dancer's Plugins (by Yanick Champoux)

by Yanick Champoux (YANICK)

The Dancer is currently under a rewrite that will include certain API changes. Yanick Champoux took upon the task to test all the plugins Dancer has - more-or-less all the modules that depend on Dancer - and run their tests with both Dancer 1 and Dancer 2. They should work. There were 37 modules that passed on Dancer 1 but not on Dancer 2, and there were a few (I think 5) that failed on both versions of Dancer. That's, out of 76 distributions Yanick found.

Mass-Testing Dancer's Plugins (by Damien Krotkine)

by Damien Krotkine (DAMS)

This is another solution to the same problem mentioned above. The goal is to test all Dancer plugins with both Dancer1, and Dancer2 and create a report.

Testing scripts in your distribution, portably

by Neil Bowers (NEILB)

When dealing with portability, Neil Bowers had to deal with directory separators, and converting relative path to full path on other operating systems as well. Apparently we also have issues with spaced in directory and file names. What about non-ASCII characters in the file path?


Releases

Pinto - managing Perl module dependencies

by Jeffrey Thalhammer (THALJEF)

At YAPC::NA I saw the presentation of Jeffrey Thalhammer (the same guy who brought Perl::Critic to us), and was quite impressed. Since then Pinto was further improved including its own version control mechanism.

Introducing HTTP::CookieMonster

by Olaf Alders (OALDERS)

I never had to deal deeply with cookies, at least not with Perl, so I am not sure how painful that was earlier, but I love this. If nothing else, the name is great. Way better than some of the boring, engineer-like anti-inspiration module names.

Citrus Perl 5.16.1 Updated

by David H. Adler (DHA)

new version of Wx and fixing long standing problem with Hash::Util::FieldHash.

At long last, masontidy

Jonathan Swartz released masontidy, that can tidy the Perl part of a Mason component.


Code

Generating PDF contact sheets with PDF::Create

by Thomas Klausner (DOMM)

I would probably call this 'How to add images to a PDF file', I think that describes the code Thomas Klausner shared with us, a bit better.


Grants

Improving Perl 5: Grant Report for Month 12

This is the grant of Nicholas Clark.

Adding tests to and refactoring the perl debugger

Shlomi Fish made further progress in his grant.


Slides

Meta Moose

by Ynon Perek


Perl 6

Daily #perl6 summary now built in to irclog software

Raiph Mellor has finalized the switch from the totally manual generation of the weekly Perl 6 report to a semi-automatic system that creates a filtered version of the IRC channel. What would be nice, IMHO, is to be able to see the conversations in separate blocks, and not mixed as is the nature of IRC. It would be also nice to see a weekly report pointing out the big issues in the last week.

How to download a web page with Perl 6

Would you like to know when Rakudo, Niecza or Pugs are mentioned on CNN? This article explains how to do that with Perl 6.


Other

Revisiting my November, 2010 Todo List (Dave Rolsky)

What can I say. There is a certain good feeling in seeing people I look up to (in several ways) also fail to implement all their plans. It's a good read. An honest one. One note though. See the shift in interest when Dave decided it is OK to be employed instead of being self-employed?

Leveraging Open Source Experience in Your Job Hunt

by Andy Lester (PETDANCE)

In an ironic turn, by the time Andy Lester finished the article explaining the subject, he himself had to start looking for a new job. If you are (not currently) looking for a job I'd recommend reading this. I believe one should constantly keep her CV up to date, and I know having the right contacts is the best way to find a new position. Oh and in case you are looking for a programmer who can come up with ideas such as WWW::Mechanize or ack, check out the CV of Andy.


Weekly collections

Perl 6 changes - 2012W38

Konrad Borowski has started to create weekly reports about the development of Perl 6. I love the format and the presentation. It's clear and compact.

Perl 5 Porters Weekly: September 10-September 16, 2012

by Ricardo Signes (RJBS)

Ricardo Signes is looking for a volunteer to described how to dual-life modules. The discussion on named prototypes (aka subroutine signatures) goes on and there were talks about performance as well.


Events

I usually list the next 3-4 events here. The list of all the events can be found on the web site. If your Perl event is not listed there, please let me know.

Portuguese Perl workshop (PTPW)

September 28, 2012, Braga, Portugal

Italian Perl workshop (IPW)

October 11-12, 2012, Bologna, Italy

OSDC France

October 12-13, 2012, Paris, France

Nordic Perl workshop (NPW)

October 13-14, 2012, Stockholm, Sweden



You know, you could get the Perl Weekly right in your mailbox. Every Week.
Free of charge!

Just ONE e-mail each Monday. Easy to unsubscribe. No spam. Your e-mail address is safe.
Perl Weekly on Twitter RSS Feed of the Perl Weekly. Updated once a week