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

@smoketest decorator identifies smoke tests #35

Open
benoitbryon opened this issue Feb 14, 2014 · 1 comment
Open

@smoketest decorator identifies smoke tests #35

benoitbryon opened this issue Feb 14, 2014 · 1 comment

Comments

@benoitbryon
Copy link
Member

This story is a first (and easy) step to #23. It may be enough, so let's try it.

The @hospital.smoketest decorator marks objects as is_healthcheck and is_smoketest. So it will be possible to collect and run only smoketests.

import hospital

@hospital.smoketest
def test_http_200():
    hospital.assert_http_response('http://example.com', status_code=200, timeout=1)
@benoitbryon
Copy link
Member Author

Moved to milestone 0.5.

@benoitbryon benoitbryon modified the milestones: 0.6, 0.5, Soon Feb 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant