Site Owners Forums - Webmaster Forums

Site Owners Forums - Webmaster Forums (http://siteownersforums.com/index.php)
-   Programming General (http://siteownersforums.com/forumdisplay.php?f=44)
-   -   Steps to test a JSON (http://siteownersforums.com/showthread.php?t=981435)

sahithya 08-23-2021 12:30 AM

Steps to test a JSON
 
Create a JSON test file.
Grab some JSON from your API and save it to a file in your project.
Create a test case.
Create a new XCTestCase subclass, then write a test method.
Load the JSON data into the test case.
Call your parser with the JSON data.
Make assertions on the result.


All times are GMT -7. The time now is 01:00 AM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.