Free
CourseLearn Intermediate Python 3: Exceptions and Unit Testing
Learn to maintain a healthy codebase by creating unit tests using Python’s built-in unittest
framework.
This course includes
This course includes
Skill level
IntermediateTime to complete
Average based on combined completion rates — individual pacing in lessons, projects, and quizzes may vary4 hoursProjects
1Prerequisites
1 courseWe suggest you complete the following courses before you get started with Learn Intermediate Python 3: Exceptions and Unit Testing:- Learn Intermediate Python 3: Object-Oriented Programming
About this course
Continue your Python 3 learning journey with Learn Intermediate Python 3: Exceptions and Unit Testing. Write tests to maintain a healthy codebase, and create unit tests to make sure your code is error and bug-free. Utilize exception handling to deal with Python errors effectively.
Syllabus
Unit Testing
Learn to maintain a healthy codebase by creating unit tests using Python’s built-in unittest framework!
Certificate of completion available with Plus or Pro
Earn a certificate of completion and showcase your accomplishment on your resume or LinkedIn.
Earn a certificate of completion
Show your network you've done the work by earning a certificate of completion for each course or path you finish.- Show proofReceive a certificate that demonstrates you've completed a course or path.
- Build a collectionThe more courses and paths you complete, the more certificates you collect.
- Share with your networkEasily add certificates of completion to your LinkedIn profile to share your accomplishments.
Learn Intermediate Python 3: Exceptions and Unit Testing course ratings and reviews
57 ratings
- 5 stars
- 4 stars
- 3 stars
- 2 stars
- 1 star
- The progress I have made since starting to use codecademy is immense! I can study for short periods or long periods at my own convenience - mostly late in the evenings.ChrisCodecademy Learner @ USA
- I felt like I learned months in a week. I love how Codecademy uses learning by practice and gives great challenges to help the learner to understand a new concept and subject.RodrigoCodecademy Learner @ UK
- Brilliant learning experience. Very interactive. Literally a game changer if you're learning on your own.John-AndrewCodecademy Learner @ USA
Our learners work at
Join over 50 million learners and start Learn Intermediate Python 3: Exceptions and Unit Testing today!
Looking for something else?
Related resources
- Article
Testing Types
In this article, you will be introduced to the different types of testing that may be used throughout the various stages of a project from local development to shipping to real users. - Article
Introduction to Testing with Mocha and Chai
This article provides a high-level overview of unit testing, why tests are important, and what the Mocha and Chai frameworks provide. - Article
The Testing Pyramid
Learn about the testing pyramid
Related courses and paths
- Course
Learn Intermediate Python 3
Learn Intermediate Python 3 and practice leveraging Python’s unique features to build powerful, sophisticated applications.With CertificateIntermediate20 hours - Course
Unit Test Development with Generative AI
Discover how Generative AI like ChatGPT can be used to create Python unit tests. Understand the Security Test Pyramid and best practices for AI unit testing.With CertificateIntermediate1 hour - Free course
Unit Testing with Generative AI Case Study
Use generative AI to help create a unit test for Python code. Generative AI can generate unit tests for all of the functions of a Python class.Beginner Friendly< 1 hour
Browse more topics
- Python3,508,751 learners enrolled
- Computer Science5,667,308 learners enrolled
- Code Foundations7,214,466 learners enrolled
- Web Development4,826,907 learners enrolled
- Data Science4,342,620 learners enrolled
- For Business3,216,572 learners enrolled
- JavaScript2,801,153 learners enrolled
- Data Analytics2,335,213 learners enrolled
- HTML & CSS2,291,909 learners enrolled
Unlock additional features with a paid plan
Practice Projects
Guided projects that help you solidify the skills and concepts you're learning.Assessments
Auto-graded quizzes and immediate feedback help you reinforce your skills as you learn.Certificate of Completion
Earn a document to prove you've completed a course or path that you can share with your network.