Title: Python tests can now be debugged by running them as embedded tests within NUnit by tminka · Pull Request #1341 · pythonnet/pythonnet · GitHub
Open Graph Title: Python tests can now be debugged by running them as embedded tests within NUnit by tminka · Pull Request #1341 · pythonnet/pythonnet
X Title: Python tests can now be debugged by running them as embedded tests within NUnit by tminka · Pull Request #1341 · pythonnet/pythonnet
Description: What does this implement/fix? Explain your changes. When debugging a problem such as issue #1325, it is immensely useful to have the Visual Studio debugger stop at the location of the error. This is tricky to do with pytest, even when running pytest from Visual Studio. Running the test via Python.Exec makes debugging simple and easy. You don't need to re-install Python.NET every time you make a change. You don't need to edit project options, and you don't need to figure out how to run pytest from Visual Studio. With this change, you can just type in the name of the python test you want to debug, build the solution, and debug the new NUnit test that appears. Does this close any currently open issues? No Any other comments? No Checklist Check all those that are applicable and complete. Make sure to include one or more tests for your change If an enhancement PR, please create docs and at best an example Add yourself to AUTHORS Updated the CHANGELOG
Open Graph Description: What does this implement/fix? Explain your changes. When debugging a problem such as issue #1325, it is immensely useful to have the Visual Studio debugger stop at the location of the error. This ...
X Description: What does this implement/fix? Explain your changes. When debugging a problem such as issue #1325, it is immensely useful to have the Visual Studio debugger stop at the location of the error. This ...
Opengraph URL: https://github.com/pythonnet/pythonnet/pull/1341
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:f9a958fc-3605-d26b-f14a-980845f253f2 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C0C6:37D417:304B6BD:30F5635:69702E1A |
| html-safe-nonce | 1ede65739e2997a6dbf90ce889c73797e1e6eb0ac99d8c0f7d8e898a757564fa |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMEM2OjM3RDQxNzozMDRCNkJEOjMwRjU2MzU6Njk3MDJFMUEiLCJ2aXNpdG9yX2lkIjoiNTczNTcxMTg1OTc0OTgwMTIyIiwicmVnaW9uX2VkZ2UiOiJzZWEiLCJyZWdpb25fcmVuZGVyIjoic2VhIn0= |
| visitor-hmac | 45e5bc60764ae8e804af3e64ce35eb6c69a3cb43f3832ebd3d2234384601199a |
| hovercard-subject-tag | pull_request:547431878 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/pythonnet/pythonnet/pull/1341/files |
| twitter:image | https://avatars.githubusercontent.com/u/8955276?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/8955276?s=400&v=4 |
| og:image:alt | What does this implement/fix? Explain your changes. When debugging a problem such as issue #1325, it is immensely useful to have the Visual Studio debugger stop at the location of the error. This ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/pythonnet/pythonnet git https://github.com/pythonnet/pythonnet.git |
| octolytics-dimension-user_id | 6050430 |
| octolytics-dimension-user_login | pythonnet |
| octolytics-dimension-repository_id | 14748123 |
| octolytics-dimension-repository_nwo | pythonnet/pythonnet |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 14748123 |
| octolytics-dimension-repository_network_root_nwo | pythonnet/pythonnet |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f643964067a552f02067066d6a910b2f90a5721f |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width