Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debugpy-module: how to just run the current test method in pytest #113

Closed
Peter-Chou opened this issue May 30, 2024 · 1 comment
Closed

Comments

@Peter-Chou
Copy link

Peter-Chou commented May 30, 2024

debugpy-module :module "pytest" works well, but It will run all the tests sequentially until reach the breakpoint, Is there a way to start and just run the current method?

@johannes-mueller
Copy link

I am working on that as part of my test-cockpit.el package. There is already a pull request johannes-mueller/test-cockpit.el#27 for dape support for debugpy but it still lacks a bit of testing in practice and documentation.

Basically you use test-cockpit.el to run your unit tests. For python it gives you the option of running the last test as a Dape debug session.

In my first tests it works nicely. Feel free to try it out and give feedback.

Repository owner locked and limited conversation to collaborators Jun 6, 2024
@svaante svaante converted this issue into discussion #115 Jun 6, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants