Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable skipping slow tests. #557

Merged
merged 2 commits into from
May 10, 2016

Conversation

kdexd
Copy link

@kdexd kdexd commented May 5, 2016

Certain tests can be skipped in normal run of tests and would be executed only on the provision of --run-slow parameter. This means:

  • ./setup.py test will skip all slow marked tests inherently.
  • ./setup.py test --slow will include all the tests while running.

@@ -32,6 +32,10 @@ def pytest_addoption(parser):
parser.addoption("--atomic-dataset", dest='atomic-dataset', default=None,
help="filename for atomic dataset")

parser.addoption("--with-slow", action="store_true",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just change this to --slow. otherwise it looks good.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Modified

@wkerzendorf
Copy link
Member

@yeganer - I'm fine to merge this one.

@unoebauer
Copy link
Contributor

Easy enough - looks good - merging

@unoebauer unoebauer merged commit 356f2dc into tardis-sn:master May 10, 2016
@kdexd kdexd deleted the pytest-slow-tests-skip-marker branch May 10, 2016 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants