YoVDO

Test Automation with Perl

Offered By: YouTube

Tags

Perl Courses Data Management Courses Test Automation Courses

Course Description

Overview

Dive into Perl test automation techniques in this comprehensive 90-minute tutorial. Learn to use Test::Simple for basic Perl program testing, then progress to refactoring large test suites by separating data from code. Explore test plans, descriptions, and status checks. Discover how to test without a plan and use the 'prove' harness. Transition to Test::More for advanced features, including diagnostic messages with diag, note, and explain. Master TODO testing for bugs and future features, 'like' for inexact value comparisons, and timeout testing with cmp_ok. Compare complex data structures using is_deeply and implement done_testing. Develop skills in testing multiple expected values, creating custom test modules, and organizing scripts with subtests. Finally, learn to test for expected warnings and explore Moose constructor testing.

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

Related Courses

Advanced Clinical Data Science
University of Colorado System via Coursera
Advanced Features with Relational Database Tables Using SQLiteStudio
Coursera Project Network via Coursera
Amazon DynamoDB Service Primer (Indonesian)
Amazon Web Services via AWS Skill Builder
Amazon DynamoDB Service Primer (Japanese)
Amazon Web Services via AWS Skill Builder
Amazon DynamoDB Service Primer (Spanish)
Amazon Web Services via AWS Skill Builder