Skip to content

Commit

Permalink
Add the command 'Discover Unit Tests' (#1598)
Browse files Browse the repository at this point in the history
Fixes #1474
  • Loading branch information
DonJayamanne authored May 7, 2018
1 parent b40cc2c commit 3e11c29
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
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

0 comments on commit 3e11c29

Please sign in to comment.