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
How do you recommend setting up test fixtures that are designed to fail. For example, if the JSON Schema has the property as "required" but the instance file (test fixture) does not contain that property, the validation should fail. What if you want that failure to actually be a "success" as far as grunt is concerned since you designed that test to ensure that the required property is provided and fails validation when not present? (Think NUnit "Exception Expected".)
Do you have an example of how to do this with grunt-tv4?
And thanks for a really great plug-in!
The text was updated successfully, but these errors were encountered:
How do you recommend setting up test fixtures that are designed to fail. For example, if the JSON Schema has the property as "required" but the instance file (test fixture) does not contain that property, the validation should fail. What if you want that failure to actually be a "success" as far as grunt is concerned since you designed that test to ensure that the required property is provided and fails validation when not present? (Think NUnit "Exception Expected".)
Do you have an example of how to do this with grunt-tv4?
And thanks for a really great plug-in!
The text was updated successfully, but these errors were encountered: