Jun 30, 2020 in Python
Q: What are Pros and Cons of unittest  in Python?

1 Answer

0 votes
Jun 30, 2020

Pros

unittest is a matured testing framework with built-in test discovery and test runner capabilities.

Cons

unittest doesn't allow using functions as test cases. It is mandatory to write a test case inside a test class.

Related questions

+1 vote
Jul 16, 2020 in Python
0 votes
Jun 30, 2020 in Python
...