Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Test Automation with Perl

via YouTube

Overview

This course aims to teach learners how to automate tests using Perl. By the end of the course, students will be able to write test scripts in Perl, refactor test suites, separate data from code, create test plans and descriptions, use Test::Simple and Test::More modules, test for specific conditions like timeouts and complex data structures, and organize test scripts with subtests. The teaching method includes hands-on coding examples and practical exercises. This course is intended for software developers, quality assurance engineers, and anyone interested in test automation using Perl.

Syllabus

Introducing Test::Simple for testing Perl programs.
Refactoring large test suite in Perl, separating data from code.
Test plan and test descriptions.
What is the status of the current test script?.
Test without a plan.
Separating test data from test code.
prove the harness.
Moving over to Test::More.
Perl Test diagnostic messages using diag, note, and explain.
TODO - testing a bug or a future feature in Perl.
Using 'like' to test without exact values in Perl.
Testing timeout in Perl with cmp_ok.
Comparing complex data structures in Perl with is_deeply.
Forget your plan, just call done_testing.
Multiple expected values - testing dice.
Implementing 'is_any' to test multiple expected values.
Create a test module in Perl for the is_any function.
Organizing a test script with subtests in Perl.
Test for expected warnings in your Perl code.
Moose: Testing the constructor.

Taught by

Code Maven

Reviews

Start your review of Test Automation with Perl

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.