Testing and Debugging Python

4.4
stars
191 ratings
Offered By
Coursera Project Network
5,113 already enrolled
In this Guided Project, you will:

Use Testing Framework.

Test Code.

Use a Debugger to Debug Code.

Clock55 minutes
IntermediateIntermediate
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

If you have seen any of the news lately, it is not hard to imagine why software bugs cost the economy billions of dollars per year as well as costing lives. The ability to test your code (and other’s code) is probably one of the most important skills to know as a developer. Knowing how to track down and fix bugs is also critical. Testing can mean adding print statements to output data at certain points in a program to visually check it. Testing can also involve developing separate programs to test the functionality of the code itself. In this course, you will create a Python application that implements a new sorting algorithm. You will also create a test to sort the algorithm, and use debugging to find bugs in the code. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

Skills you will develop

DebuggingSoftware TestingPython ProgrammingUnit TestingSorting

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. Create Python Code Stub

  2. Select Testing Framework

  3. Implement Function

  4. Debug code

  5. Finalize Tests

How Guided Projects work

Your workspace is a cloud desktop right in your browser, no download required

In a split-screen video, your instructor guides you step-by-step

Reviews

TOP REVIEWS FROM TESTING AND DEBUGGING PYTHON

View all reviews

Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.