Sunday, November 15, 2015

Testing Tip

Instead of checking each attribute of a JSON response in your test, you can use json-schema for api validation. Use to generate a valid JSON schema from a valid sample data. You can delete all the links that point to and save the json file in the fixtures directory.