Learn to write effective unit tests in Python with this course from Harvard University.
In this course, you will learn the basics of unit testing, including how to write tests that are clear, concise, and easy to maintain. You will also learn how to use unit testing to improve the quality of your Python code.
The course is taught by David Malan, a professor of computer science at Harvard University. David is a leading expert in unit testing and has taught this course to thousands of students.
What you will learn:
The basics of unit testing
How to write clear, concise, and easy-to-maintain tests
How to use unit testing to improve the quality of your Python code
How to use the unittest library in Python
Who this course is for:
This course is for anyone who wants to learn how to write unit tests in Python. This includes beginners, intermediate programmers, and experienced developers.
Prerequisites:
Basic knowledge of Python
Some experience with programming
Curriculum:
The course is divided into 5 modules:
1. Introduction to Unit Testing
2. Writing Unit Tests
3. Debugging Unit Tests
4. Using the unittest Library
5. Advanced Unit Testing Topics
Instructor:
David Malan is a professor of computer science at Harvard University. He is the author of the book "Introduction to Programming in Python" and the creator of the CS50 course.
Skills you will gain:
The ability to write effective unit tests in Python
The ability to use unit testing to improve the quality of your Python code
The ability to use the unittest library in Python
Take this course today and learn how to write effective unit tests in Python!
TABLE OF CONTENTS
00:00:00 - Introduction
00:00:24 - Unit Tests
00:01:15 - Testing calculator.py
00:10:20 - assert
00:12:18 - AssertionError
00:16:58 - pytest
00:28:38 - Categories of Tests
00:35:53 - Testing for Exceptions
00:38:13 - Side Effects and Testing
00:47:54 - Collections of Tests
00:50:16 - Conclusion
The course is project-based, so you will have the opportunity to practice what you learn by writing unit tests for real-world Python programs.
The course is taught in an engaging and interactive way, with videos, quizzes, and exercises.
The course is self-paced, so you can learn at your own pace.
The course is free to audit, so you can try it out before you commit to enrolling.
I hope this helps!
#learnpython
#pythonprogramming
#pythontutorial
#pythonbeginners
#pythonfordatascience
#pythonformachinelearning
#pythonforwebdevelopment
#pythonforgames
#pythonfordatavisualization
#pythonforautomation
#pythonfordataanalysis
#pythonforeveryone
コメント