Add path of function in pytest format to the clipboard from breadcrumb
See original GitHub issue- We currently have
Copy Relative Path
as a menu option when you right click on a file. - And we have breadcrumbs
i would love it if i could copy a function from within the breadcrumb and have it be in the pytest format: path/to/module.py::Class::function

It would be a nice, nice-to-have.
Issue Analytics
- State:
- Created a year ago
- Reactions:16
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Usage and Invocations — pytest documentation
This will run tests which contain names that match the given string expression (case-insensitive), which can include Python operators that use filenames, class ......
Read more >Changing standard (Python) test discovery - Pytest
Default behavior of pytest is to ignore duplicate paths specified from the command line. Example: ; To collect duplicate tests, use the --keep-duplicates...
Read more >Basic patterns and examples — pytest documentation
For this to work we need to add a command line option and provide the cmdopt through a fixture function: # content of...
Read more >How to invoke pytest — pytest documentation
Another example specifying a test method in the command line: ... directly, except that calling via python will also add the current directory...
Read more >Copy path (bread crumb) to clipboard : IDEA-137271 - YouTrack
It would be very useful to copy the path (bread crumb) to the JSON clipboard (maybe Yaml, XML). In JSON, separate each element...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@kingbuzzman chances are we are not going to start working on this in the next 60 days, so it doesn’t make a huge difference. But I can go ahead and mark this as accepted for consideration.
Thank you to everyone who upvoted this issue! Since the community showed interest in this feature request we will leave this issue open as something to consider implementing at some point in the future.
We do encourage people to continue 👍 the first/opening comment as it helps us prioritize our work based on what the community seems to want the most.
@karthiknadig What happens if it’s already over 7 up votes? Do we need to wait 60 days nonetheless?