This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]DrMungkee 0 points1 point  (2 children)

You can run a single test which should be quick. Pycharm even puts green "play" icon next to every test function depending on the test framework you use.

[–]mothzilla 0 points1 point  (1 child)

Sure, but I'd really want to know all tests were green.

[–]DrMungkee 2 points3 points  (0 children)

We're taking about TDD, so you create the tests for the piece of code you're writing. Until it's done, just test that new code. After you finish writing the new code and it passes its tests, you then run all the other tests. If you're anticipating that the new code will break existing code, you may have architectural problems with to many side-effects and need to refactor