First time here? Check out the FAQ!
1

How do I run one of many defined tests, using pytest

How and/or where do I define this type of test "pytest tests/test_frame.py::TestFrame"in the IDE? Or can I only run the entire test? As of now, I'm confined to the conda prompt in Anaconda to do this.

As you might guess, I'm quite new to this IDE... Bought the pro vrsion hoping that I would leverage some things, but I'm on my way back to PyCharm, Anaconda and Spyder, or whatever... Struggling to find my way here.

anonymous user
Anonymous
asked 2020-05-09 13:32:50 -0500
Wingware Support's avatar
4.1k
Wingware Support
updated 2020-05-11 11:07:38 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

The Testing tool in Wing Pro is where you run tests. Initially, you have to run the whole module so Wing can discover the tests (some testing modules dynamically create tests, so running them is the only way to be sure to discover them all). After that, you can click on an individual test or test class to run or debug just that.

Don't hesitate to post questions here or email us at support@wingware.com if you're unclear about things getting started. Also, see the Tutorial in Wing's Help menu, which goes through the basics for most of the features.

Wingware Support's avatar
4.1k
Wingware Support
answered 2020-05-11 11:07:26 -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