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.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
anonymous user
Anonymous
asked 5 years ago
Wingware Support's avatar
4.2k
Wingware Support
updated 5 years ago

Comments

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.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Wingware Support's avatar
4.2k
Wingware Support
answered 5 years ago
link

Comments

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

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)