-
Notifications
You must be signed in to change notification settings - Fork 33
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
Even simpler way to define tests (by only calling Assert) #149
Comments
jimkring
changed the title
Even simpler way to define tests
Even simpler way to define tests (by only calling Assert)
Dec 18, 2021
[update] I added another bullet above:
|
It could work, but I think it introduces a few quirks that we'd need to change:
I'm sure there are more "effects" that might appear, but perhaps we can have our cake and eat it? Why change the current behavior when we can simply create a new first-class citizen method that would be a "Test Unit" and act in the way you describe? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use Case
As a developer working on a project, a simple workflow I would like is:
Wash, rinse, and repeat. Success!
"Problem" (ok, it's more of an inconvenience)
When creating my tests, it sort of feels like a minor-but-tedious pain to have to drop both the Define Test and the Assert Vis. I'd like to not have to drop any Define Test VIs.
Ideas
Maybe we could change the behavior of Caraya in some way, such that the presence of an Assert defines the caller as being a test.
Here are some different ideas:
I'm curious what others think about this...
The text was updated successfully, but these errors were encountered: