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

Assertion checking in workflows #3954

Open
tnabtaf opened this issue Apr 20, 2017 · 0 comments
Open

Assertion checking in workflows #3954

tnabtaf opened this issue Apr 20, 2017 · 0 comments

Comments

@tnabtaf
Copy link
Contributor

tnabtaf commented Apr 20, 2017

I would like to have the ability to do assertion checking in workflows, and if the assertion fails, stop the workflow. A couple of assert examples that would have helped me:

  1. I want to check that the values in a particular column are unique. If they aren't stop the workflow.
  2. Check that a dataset is not empty. If it isn't, stop the workflow.

One of those tests looks at values in the dataset. Another looks at the dataset as a whole. Not sure how best to implement assertions, how complex they can get, and what sorts of things can they test.

It would be nice to have the assertion display user-provided text if an error occurs.

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