qeude/vscode-django-test-path

[Feature Request] Add command to copy method name

Opened this issue · 0 comments

It would be nice if an additional command would copy the test method name under the cursor. Often I just want to isolate one test method

./manage.py test htmx.tests.TodoModelTest.test_todo_str

At the moment the closest I can get with this extension is

./manage.py test htmx.tests

so I have to type the class name and method name TodoModelTest.test_todo_str in manually.

P.S. And one more command to generate the classname only e.g. htmx.tests.TodoModelTest would round out the functionality nicely ;-)