forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Make test discovery cancellable #24602
Copy link
Copy link
Labels
area-testingfeature-requestRequest for new features or functionalityRequest for new features or functionalityneeds PRReady to be worked onReady to be worked onverification-neededVerification of issue is requestedVerification of issue is requestedverifiedVerification succeededVerification succeeded
Milestone
Metadata
Metadata
Assignees
Labels
area-testingfeature-requestRequest for new features or functionalityRequest for new features or functionalityneeds PRReady to be worked onReady to be worked onverification-neededVerification of issue is requestedVerification of issue is requestedverifiedVerification succeededVerification succeeded
Currently, the auto-discovery run is not cancellable. This can some times get in the way when say
pytestis not installed , and you installpytestit can prevent from running immediately. May be, we can check if pytest exists or if path is provided, if eithe is true then run discovery using withProgress API so even the auto discover can be cancelled.