Title: Debugging unittest tests doesn't work · Issue #89 · microsoft/vscode-python · GitHub
Open Graph Title: Debugging unittest tests doesn't work · Issue #89 · microsoft/vscode-python
X Title: Debugging unittest tests doesn't work · Issue #89 · microsoft/vscode-python
Description: From @yRefl3x on March 6, 2017 11:11 Environment data VS Code version: 1.10.1 Python Extension version: 0.5.9 Python Version: 2.7.5 OS and version: Windows 10 Actual behavior After clicking on the "Debug Test" lens of a test method, debu...
Open Graph Description: From @yRefl3x on March 6, 2017 11:11 Environment data VS Code version: 1.10.1 Python Extension version: 0.5.9 Python Version: 2.7.5 OS and version: Windows 10 Actual behavior After clicking on the ...
X Description: From @yRefl3x on March 6, 2017 11:11 Environment data VS Code version: 1.10.1 Python Extension version: 0.5.9 Python Version: 2.7.5 OS and version: Windows 10 Actual behavior After clicking on the ...
Opengraph URL: https://github.com/microsoft/vscode-python/issues/89
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Debugging unittest tests doesn't work","articleBody":"_From @yRefl3x on March 6, 2017 11:11_\n\n## Environment data\r\nVS Code version: 1.10.1\r\nPython Extension version: 0.5.9\r\nPython Version: 2.7.5\r\nOS and version: Windows 10\r\n\r\n## Actual behavior\r\nAfter clicking on the \"Debug Test\" lens of a test method, debugging doesn't start. \"Running Tests\" is displayed at the bottom of the VSCode window indefinitely.\r\n## Expected behavior\r\nDebugging starts.\r\n## Steps to reproduce: \r\nI have the following folder structure:\r\n```\r\nIssue\r\n cool_package\r\n __init__.py\r\n cool_module.py\r\n test\r\n __init__.py\r\n test_cool_module.py\r\n```\r\n### cool_module.py\r\n```\r\ndef foo(a, b):\r\n return a + b\r\n```\r\n### test_cool_module.py\r\n```\r\nimport unittest\r\n\r\nfrom cool_package.cool_module import foo\r\n\r\nclass TestCoolModule(unittest.TestCase):\r\n def test_foo(self):\r\n res = foo(1, 2)\r\n self.assertEquals(res, 3)\r\n```\r\n\r\n- Set a breakpoint at line ```res = foo(1, 2)```\r\n- Click \"Debug Test\" in test method code lens\r\n\r\n## Settings \r\nsettings.json: \r\n```\r\n{\r\n \"python.unitTest.unittestArgs\": [\r\n \"-v\",\r\n \"-s\",\r\n \"test\",\r\n \"-p\",\r\n \"test_*.py\"\r\n ],\r\n \"python.unitTest.unittestEnabled\": true\r\n}\r\n``` \r\n## Logs\r\nOutput from ```Python Test Log``` output panel \r\n```\r\nREADY\r\n``` \r\n\r\n\n\n_Copied from original issue: DonJayamanne/pythonVSCode#797_","author":{"url":"https://github.com/DonJayamanne","@type":"Person","name":"DonJayamanne"},"datePublished":"2017-11-13T22:42:38Z","url":"https://github.com/microsoft/vscode-python/issues/89"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:60af8bfc-57ce-4c18-425e-de2b929479b4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A786:7EFBC:3E7879:548F3E:6AFE4337 |
| html-safe-nonce | eefd55492e46895de5b7f1f9db515da1db67530b396119d5cbf723d25ed65fed |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzg2OjdFRkJDOjNFNzg3OTo1NDhGM0U6NkFGRTQzMzciLCJ2aXNpdG9yX2lkIjoiNTc2NjkwMDUzMDU1OTIwNjIwMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6cb6bc50b890d4695402e13e26b463e83892914e0d223c944586db6c2c172973 |
| hovercard-subject-tag | issue:273604431 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/vscode-python/89/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f2e71a0bb68f1a2271521216088586c691569fe99f872c693516bcad98431298/microsoft/vscode-python/issues/89 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f2e71a0bb68f1a2271521216088586c691569fe99f872c693516bcad98431298/microsoft/vscode-python/issues/89 |
| og:image:alt | From @yRefl3x on March 6, 2017 11:11 Environment data VS Code version: 1.10.1 Python Extension version: 0.5.9 Python Version: 2.7.5 OS and version: Windows 10 Actual behavior After clicking on the ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | DonJayamanne |
| hostname | github.com |
| expected-hostname | github.com |
| None | f1a5901e2377b0af2a0b303f9528678f1475d04b9219dca1e993344196eaa07c |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/vscode-python git https://github.com/microsoft/vscode-python.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 106462765 |
| octolytics-dimension-repository_nwo | microsoft/vscode-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 49946255 |
| octolytics-dimension-repository_parent_nwo | DonJayamanne/pythonVSCode |
| octolytics-dimension-repository_network_root_id | 49946255 |
| octolytics-dimension-repository_network_root_nwo | DonJayamanne/pythonVSCode |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ce393ea11ad276623b946bc9663d3e7d6f564275 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width