This extension generates a relative path to your function ready to be pasted into your terminal as a pytest arg to run a single testcase.
pytest-grabber.generatePath
: Generates a path like ${filePath}::${className}::${methodName}
where method is optional.
None so far.
Initial release of pytest-grabber!
- Fixed an issue where relative path would include the root directory of the workspace if one was set.
- Added support for test methods that don't have a parent class.
- Fixed adding a whitespace after the prefixCmd.
Enjoy!