Setting up WingIde for Python -m option


112
views
1
8 weeks ago by
Hi Folks:

I want to execute tests from Wingide. I have directory structure

/application
    /tests
    /source

and in the root of the application, I type python -m tests.some_test.py

How do I set up WingIde so I can execute tests from the Debug menu?
Any help would be appreciated?

Cheers,
Andrew
modified 8 weeks ago by Wingware Support   • written 8 weeks ago by Andrew Francis  

1 Answer


2
8 weeks ago by
You should be able to add tests to the Testing tool in Wing, either individually or using the pattern or regex under the Testing tab in Project Properties.  Once the test files appear in the Testing tool, you can click on them and either run or debug the tests.
written 8 weeks ago by Wingware Support  
Please login to add an answer/comment or follow this question.

Similar posts:
Search »