First time here? Check out the FAQ!
1

A previously skipped test does not appear in the testing tools

Hello I am using testing tool to run a set of 3 testcases. At some point I decorated a test case with @unittest.skip . Then I removed the decorator and I cannot get that test to be shown again in the testing tool. I have tried to go to file and save the file again but it does not help.

piscvau's avatar
526
piscvau
asked 2019-11-16 10:47:16 -0600
Wingware Support's avatar
4.2k
Wingware Support
updated 2019-11-18 09:11:37 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

Are you running or debugging tests? Running the whole module or parent class if a method should re-add it, although in fact it should never have been removed since having the @unittest.skip decorator should keep showing the test but show a skipped icon next to it. So I'm not certain if that will help.

One thing to note is Wing discovers tests only when you run them (not debug them or at any other time) so you do sometimes need to run a whole file again in order to discover new tests.

Please let us know if this does not help.

Wingware Support's avatar
4.2k
Wingware Support
answered 2019-11-18 09:14:01 -0600, updated 2019-11-18 09:14:33 -0600
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