90b8a223bd
unittest2pytest is a tool that helps rewriting Python unittest test-cases into pytest test-cases. In contrast to other similar tools, this handles keyword arguments, handles single-line test-cases and several tests on one line, and uses context-handlers where appropriate. This is done by using lib2to3 and Python's mighty inspect module.
6 lines
340 B
Text
6 lines
340 B
Text
unittest2pytest is a tool that helps rewriting Python unittest
|
|
test-cases into pytest test-cases. In contrast to other similar tools,
|
|
this handles keyword arguments, handles single-line test-cases and
|
|
several tests on one line, and uses context-handlers where
|
|
appropriate. This is done by using lib2to3 and Python's mighty
|
|
inspect module.
|