Setting up WingIde for Python -m option


155
views
1
3 months 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
Community: Wing Python IDE

1 Answer


2
3 months 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.
Please login to add an answer/comment or follow this question.

Similar posts:
Search »