First time here? Check out the FAQ!
1

Setting up WingIde for Python -m option

Hi Folks:

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

/application
   /test
   /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

Andrew Francis's avatar
11
Andrew Francis
asked 2017-08-18 22:17:00 -0500
Wingware Support's avatar
4k
Wingware Support
updated 2019-03-13 08:52:58 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

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.

Wingware Support's avatar
4k
Wingware Support
answered 2017-08-19 22:42:00 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer