Merge pull request #1145 from htgoebel/patch-1

Add link to unittest2pytest
This commit is contained in:
Bruno Oliveira 2015-10-17 13:16:55 -03:00
commit cf56f59f58
1 changed files with 8 additions and 0 deletions

View File

@ -180,3 +180,11 @@ was executed ahead of the ``test_method``.
to selectively leave away the ``unittest.TestCase`` subclassing, use
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.