0 votes
in Python by
What are Pros and Cons of unittest  in Python?

1 Answer

0 votes
by

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
asked Jul 16, 2020 in Python by GeorgeBell
+1 vote
asked Jul 16, 2020 in Python by GeorgeBell
...