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 fromFile interpolate helper #7213

Open
LuBashQ opened this issue Nov 8, 2024 · 0 comments
Open

Add fromFile interpolate helper #7213

LuBashQ opened this issue Nov 8, 2024 · 0 comments

Comments

@LuBashQ
Copy link

LuBashQ commented Nov 8, 2024

Hi, as I have pointed in ovh/venom#822, it would be nice to have an interpolate helper that would read a file (either relative of absolute path) and return the contents of said file.

Doing so would open to cleaner assertions in venom, as the comparison values can then be stored in separate files and not added as variables. At least for the use cases I am facing in my day job, I prefer to store and have syntax highlighting and clearly stated changes/commits on said files, and those files could be shared as-is between several utilities.

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