Python tests can now be debugged by running them as embedded tests within NUnit by tminka · Pull Request #1341 · pythonnet/pythonnet

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