MyPage is a personalized page based on your interests.The page is customized to help you to find content that matters you the most.


I'm not curious

Python Testing

Course Summary

Every project can benefit from testing and Python's testing library is solid, strong, and easy to learn and use. In this course, we'll learn about doctests, Python's unittest library, and the super-handy third-party package coverage.py. Come along and learn to assert yourself!


  • +

    Course Syllabus

    First Steps With Testing

    Testing is often a daunting subject. Let's break down some of the common words and then learn about the two basic types of testing in Python, doctests and unit tests. 5 steps
    • What Is Testing? 1:54
    • Writing and Running Doctests 12:11
    • Create a Doctest 1 objective
    • Your First unittest Test Case 5:41
    • Simple Unit Test 2 objectives

    Be Assertive

    Now that we know how to start a TestCase, let's look at some of the assertions that Python provides us with. 6 steps

    Covering Your Bases

    Writing tests is great but you still need to know when you've tested enough and when you're missing something important. Coverage.py gives us very useful feedback to judge how effective our testing is. 3 steps


Course Fee:
USD 25

Course Type:

Self-Study

Course Status:

Active

Workload:

1 - 4 hours / week

Attended this course?

Back to Top

 
Awards & Accolades for MyTechLogy
Winner of
REDHERRING
Top 100 Asia
Finalist at SiTF Awards 2014 under the category Best Social & Community Product
Finalist at HR Vendor of the Year 2015 Awards under the category Best Learning Management System
Finalist at HR Vendor of the Year 2015 Awards under the category Best Talent Management Software
Hidden Image Url

Back to Top