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

Provide simple language construct to perform equality test of two script-provided values #136

Open
S1artie opened this issue Jun 1, 2017 · 0 comments

Comments

@S1artie
Copy link
Member

S1artie commented Jun 1, 2017

Currently, if you want to compare e.g. the content of a variable and a fixed value, you need to write a "dummy fixture" that just returns whatever it gets inserted into a single property. You can then use this fixture as a test fixture, put in the value to test (for example the mentioned variable) and provide an expected result, and Integrity will perform the comparison and any necessary conversion tasks.

This is a pretty commmon pattern and could be simplified if the language itself would provide an adequate replacement for this "echo fixture" trick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant