Free
CourseLearn Intermediate Python 3: Exceptions and Unit Testing
Learn to maintain a healthy codebase by creating unit tests using Python’s built-inunittest framework.
This course includes
4,418 learners enrolled
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
82 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
- Learn Intermediate Python 3 and practice leveraging Python’s unique features to build powerful, sophisticated applications.
- With Certificate
- Intermediate.20 hours
- 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 Certificate
- Intermediate.< 1 hour
- 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
- Python4,279,195 learners enrolled
- Computer science6,982,216 learners enrolled
- Code foundations8,489,809 learners enrolled
- Web development5,697,320 learners enrolled
- Data science5,291,959 learners enrolled
- For business4,079,741 learners enrolled
- JavaScript3,196,102 learners enrolled
- Data analytics3,183,395 learners enrolled
- IT3,129,997 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.







