Metadata-Version: 2.0 Name: pytest-pycharm Version: 0.7.0 Summary: Plugin for py.test to enter PyCharm debugger on uncaught exceptions Home-page: https://github.com/jlubcke/pytest-pycharm Author: Johan Lübcke Author-email: johan@lubcke.se License: BSD Keywords: pytest,py.test,pycharm Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable Classifier: Intended Audience :: Developers Classifier: License :: OSI Approved :: BSD License Classifier: Natural Language :: English Classifier: Operating System :: POSIX Classifier: Operating System :: Microsoft :: Windows Classifier: Operating System :: MacOS :: MacOS X Classifier: Topic :: Software Development :: Testing Classifier: Topic :: Software Development :: Libraries Classifier: Topic :: Utilities Classifier: Programming Language :: Python :: 2 Classifier: Programming Language :: Python :: 2.6 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Framework :: Pytest Requires-Dist: pytest (>=2.3) =============================== pytest-pycharm =============================== .. image:: https://badge.fury.io/py/pytest-pycharm.png :target: http://badge.fury.io/py/pytest-pycharm Plugin for ``pytest`` to enter PyCharm debugger on uncaught exceptions * Free software: BSD license Features -------- * Uncaught exceptions in ``pytest`` test cases will trigger the PyCharm debugger Installation ------------ You can install the plugin by running pip install pytest-pycharm Alternately check out the source code and run python setup.py install Usage ----- You are ready to go right after the plugin installation. Execute any test in PyCharm by right-clicking on a test and selecting *Debug pytest in ...*. The debugger will pause on a false assertion (see `test example`_). The plugin also works with custom ``pytest`` Run Configurations: *Run | Edit Configurations | Add New Configuration | Python tests | pytest*. **Note:** make sure the Run Configuration uses the correct interpreter with ``pytest-pycharm`` installed. .. _test example: test_dummy.py