Copy pytest node IDs¶
Copy pytest node IDs copies pytest node identifiers for selected tests to the clipboard.
How to use it¶
Select one or more tests in the pytest test tree or pytest explorer, then run Copy Special | BetterPy: Copy Pytest Node IDs.
When it helps¶
Use this action when rerunning a specific test selection from a terminal, sharing an exact pytest target, or preparing command-line invocations.
Notes¶
- Multiple selected node IDs are copied one per line.
- The feature is gated by the Copy pytest node IDs setting under Settings | BetterPy | Testing (Pytest) | Test Tree & Navigation.