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
One of the things I like about using dataproviders, is that you can set a descriptive text for a case by setting it as the key of the array entry that the dataprovider yields. However, when using the Examples attribute, this is no longer possible because it is hard to differentiate between the values and the possible description, especially when the description is optional.
I found the Given attribute, but I am not sure what that is used for. I would expect to be able to provide a Description attribute in the same #[] scope maybe?
I am open to submitting a PR for this if we can find an agree on an acceptable solution.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
One of the things I like about using dataproviders, is that you can set a descriptive text for a case by setting it as the key of the array entry that the dataprovider yields. However, when using the
Examples
attribute, this is no longer possible because it is hard to differentiate between the values and the possible description, especially when the description is optional.I found the
Given
attribute, but I am not sure what that is used for. I would expect to be able to provide aDescription
attribute in the same#[]
scope maybe?I am open to submitting a PR for this if we can find an agree on an acceptable solution.
Beta Was this translation helpful? Give feedback.
All reactions