Skip to content

Instantly share code, notes, and snippets.

@andreafrancia
Created September 14, 2012 17:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andreafrancia/3723298 to your computer and use it in GitHub Desktop.
Save andreafrancia/3723298 to your computer and use it in GitHub Desktop.
import nose
class TestToBeRun:
def test_it_should_fail(self):
assert False
# possibly other test cases that should not be run
if __name__ == '__main__':
list_of_test_to_be_run=[TestToBeRun,]
nose.run() # How should I modify this line in order to run
# only the tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment