You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: