unittest

Ashwin Pajankar · Apress eBooks · 2021

The last chapter discussed the concepts of test automation. You learned about docstring and doctest and their use in writing simple, static, yet elegant test cases for Python 3 programs. However, due to the lack of features, like API, configurable tests, and test fixtures, doctest enjoys very limited popularity. You need to explore a powerful API library for automating complex real-life projects and learning Python's built-in unittest module is your first step toward it.

Read the paper · More papers on PaperTik