SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

Matt Ward

SharpDevelop and unittest2 for Python

SharpDevelop 4 has been updated to support running IronPython unit tests that use the unittest2 library, as shown in the screenshot below.

Make sure unittest2 is on the Python path before running the unit tests.

Out of the box SharpDevelop will actually use the unittest library's test runner. This seems to work however if you actually need to use the unittest2 test runner then you can modify the following two files in the folder AddIns\AddIns\BackendBindings\PythonBinding\TestRunner.

  • sdtest.py
  • sdtestrunner.py

 

Published Jun 02 2010, 07:36 PM by MattWard
Filed under: ,

Comments

No Comments
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.