Comparing the testing ecosystems of Perl, Python, and Ruby

This is a meta-post around a series – the posts themselves will be linked to below as they’re available.

A programmer moving between Perl, Python, and Ruby is unlikely to run in to too many conceptual challenges. Thereโ€™s new syntax to learn, and there are a few wrinkles: someone new to Perl will have to get used to adding strange characters to the beginning of their variable names, someone new to Python is going to wrap their head around the scoping rules, and someone new to Ruby will probably spend some time trying to understand monkey-patching and Eigen-classes, but the similarities vastly outweigh the differences.

One interesting variation between the three is their approach to automated testing. All three have mature and varied testing ecosystems, but all three solve a couple of fundamental problems differently.

Weโ€™re going to examine at:

โ€ข The anatomy of a simple testing assertion in each language
โ€ข How these simple assertions are extended
โ€ข Reporting to users or computers the status of the whole test suite

Links will appear as these get written…

By Peter

I'm a CTO, Consultant, Founder, Student, Open-Source Developer, and soon-to-be husband. Somewhere I find time to write this blog.