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

Can't test non-static return values #63

Open
devenjarvis opened this issue Apr 30, 2023 · 0 comments
Open

Can't test non-static return values #63

devenjarvis opened this issue Apr 30, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@devenjarvis
Copy link
Owner

Right now sundew expects you to be able to assert that a function returns a specific value. Sometimes this isn't feasible, such as when testing a function that returns a generated id. Normally we'd test properties of the return like "A value was returned, that value is a string, it shoul be shaped like: XXX-XXXX-XXXXXXXXX, etc". Sundew should be extended to support more expressive return assertions if we want it to be useful across all testing circumstances

@devenjarvis devenjarvis added the enhancement New feature or request label Apr 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant