New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

pytest-pycharm

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pytest-pycharm

Plugin for py.test to enter PyCharm debugger on uncaught exceptions

  • 0.7.0
  • PyPI
  • Socket score

Maintainers
2

=============================== 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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc