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

Automated performance asserts at the test level #87

Closed
JoaoGFarias opened this issue Feb 14, 2018 · 1 comment
Closed

Automated performance asserts at the test level #87

JoaoGFarias opened this issue Feb 14, 2018 · 1 comment

Comments

@JoaoGFarias
Copy link

Feature request:

Although --timer-warning/--timer-ok flags already provide the ability to highlight tests in a running time range, some tests have specific performance goals (specially integration tests). Additionally, sometimes, getting the console output in a target-remote environment is not trivial.

Given that, I proposed that nose-timer provide the ability to specify an upper bound time for each test. It could be accomplished by using annotations, as nose2dep does (image below)

image

We could have an annotation as:
@time_limit(value=15, unit='ms')

@JoaoGFarias
Copy link
Author

Duplicated of #80
Closing

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

No branches or pull requests

1 participant