METADATA 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. Metadata-Version: 2.0
  2. Name: pytest-pycharm
  3. Version: 0.7.0
  4. Summary: Plugin for py.test to enter PyCharm debugger on uncaught exceptions
  5. Home-page: https://github.com/jlubcke/pytest-pycharm
  6. Author: Johan Lübcke
  7. Author-email: johan@lubcke.se
  8. License: BSD
  9. Keywords: pytest,py.test,pycharm
  10. Platform: UNKNOWN
  11. Classifier: Development Status :: 5 - Production/Stable
  12. Classifier: Intended Audience :: Developers
  13. Classifier: License :: OSI Approved :: BSD License
  14. Classifier: Natural Language :: English
  15. Classifier: Operating System :: POSIX
  16. Classifier: Operating System :: Microsoft :: Windows
  17. Classifier: Operating System :: MacOS :: MacOS X
  18. Classifier: Topic :: Software Development :: Testing
  19. Classifier: Topic :: Software Development :: Libraries
  20. Classifier: Topic :: Utilities
  21. Classifier: Programming Language :: Python :: 2
  22. Classifier: Programming Language :: Python :: 2.6
  23. Classifier: Programming Language :: Python :: 2.7
  24. Classifier: Programming Language :: Python :: 3
  25. Classifier: Programming Language :: Python :: 3.7
  26. Classifier: Programming Language :: Python :: 3.8
  27. Classifier: Framework :: Pytest
  28. Requires-Dist: pytest (>=2.3)
  29. ===============================
  30. pytest-pycharm
  31. ===============================
  32. .. image:: https://badge.fury.io/py/pytest-pycharm.png
  33. :target: http://badge.fury.io/py/pytest-pycharm
  34. Plugin for ``pytest`` to enter PyCharm debugger on uncaught exceptions
  35. * Free software: BSD license
  36. Features
  37. --------
  38. * Uncaught exceptions in ``pytest`` test cases will trigger the PyCharm
  39. debugger
  40. Installation
  41. ------------
  42. You can install the plugin by running
  43. pip install pytest-pycharm
  44. Alternately check out the source code and run
  45. python setup.py install
  46. Usage
  47. -----
  48. You are ready to go right after the plugin installation. Execute any test in
  49. PyCharm by right-clicking on a test and selecting *Debug pytest in ...*. The
  50. debugger will pause on a false assertion (see `test example`_).
  51. The plugin also works with custom ``pytest`` Run Configurations:
  52. *Run | Edit Configurations | Add New Configuration | Python tests | pytest*.
  53. **Note:** make sure the Run Configuration uses the correct interpreter with
  54. ``pytest-pycharm`` installed.
  55. .. _test example: test_dummy.py