A tool to automatically convert Python unittest-style tests to pytest. Current version 1.5.0 supports Python 3.7+. Converts assert methods, TestCase classes, setUp/tearDown, and more. Releases are infrequent, mainly maintenance.
pip install pytestifyNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Run from command line. Pass files or directories. Use --recursive for directories, --dry-run to preview.
Manually verify conversions, especially edge cases with custom assertions.
Always run with --dry-run first, then apply changes with --recursive only after reviewing.
Inspect converted assertFalse statements to ensure the negation is correct.
Run 'pip install pytestify'
Upgrade to the latest version: 'pip install --upgrade pytestify'
No dependency data recorded yet.