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

Add need pass property for measurements #522

Closed
wallacbe opened this issue Feb 24, 2017 · 3 comments
Closed

Add need pass property for measurements #522

wallacbe opened this issue Feb 24, 2017 · 3 comments

Comments

@wallacbe
Copy link
Collaborator

Add need pass property for measurements

Sometimes a measurement passing is a dependency for future tests. Would like to make measurement configurable such that openhtf.PhaseResult.STOP would be returned and test would fail if measurement did not pass

@fahhem
Copy link
Collaborator

fahhem commented Feb 25, 2017

How often does this occur? It's pretty rare for us, so we explicitly return htf.PhaseResult.STOP for those instances.

@wallacbe
Copy link
Collaborator Author

I have several cases of this. I'm setting limits as constants, checking max/min condition, then returning openhtf.PhaseResult.STOP, which can get verbose.

This would also allow setting up testers as "production" mode and "debug" mode via conf where we can fail tests immediately versus continuing.

@wallacbe
Copy link
Collaborator Author

Duplicate issue #619

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

2 participants