Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions news/1 Enhancements/1474.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add the command 'Discover Unit Tests'.
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@
"onCommand:python.goToPythonObject",
"onCommand:python.setLinter",
"onCommand:python.enableLinting",
"onCommand:python.createTerminal"
"onCommand:python.createTerminal",
"onCommand:python.discoverTests"
],
"main": "./out/client/extension",
"contributes": {
Expand Down Expand Up @@ -187,6 +188,11 @@
"title": "%python.command.python.runFailedTests.title%",
"category": "Python"
},
{
"command": "python.discoverTests",
"title": "%python.command.python.discoverTests.title%",
"category": "Python"
},
{
"command": "python.execSelectionInTerminal",
"title": "%python.command.python.execSelectionInTerminal.title%",
Expand Down
1 change: 1 addition & 0 deletions package.nls.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"python.command.python.selectAndRunTestFile.title": "Run Unit Test File ...",
"python.command.python.runCurrentTestFile.title": "Run Current Unit Test File",
"python.command.python.runFailedTests.title": "Run Failed Unit Tests",
"python.command.python.discoverTests.title": "Discover Unit Tests",
"python.command.python.execSelectionInTerminal.title": "Run Selection/Line in Python Terminal",
"python.command.python.execSelectionInDjangoShell.title": "Run Selection/Line in Django Shell",
"python.command.python.goToPythonObject.title": "Go to Python Object",
Expand Down