parent
3404d2a99b
commit
4fba20e544
|
@ -180,3 +180,11 @@ was executed ahead of the ``test_method``.
|
||||||
to selectively leave away the ``unittest.TestCase`` subclassing, use
|
to selectively leave away the ``unittest.TestCase`` subclassing, use
|
||||||
plain asserts and get the unlimited pytest feature set.
|
plain asserts and get the unlimited pytest feature set.
|
||||||
|
|
||||||
|
|
||||||
|
Converting from unittest to pytest
|
||||||
|
---------------------------------------
|
||||||
|
|
||||||
|
If you want to convert your unittest testcases to pytest, there are
|
||||||
|
some helpers like `unittest2pytest
|
||||||
|
<https://pypi.python.org/pypi/unittest2pytest/>`__, which uses lib2to3
|
||||||
|
and introspection for the transformation.
|
||||||
|
|
Loading…
Reference in New Issue