Test with Now App - HearstCorp/rover-wiki GitHub Wiki
Requirements
OSX 10.10.5 & Xcode 7.1.1
Setup
- clone repo https://github.com/Hearst-Digital/applab-now.git
- double click HearstNow.xcworkspace to open the project
- select any magazine brand from the left most dropdown, then mouse over to the right-most dropdown and choose a simulator. (iPhone6 is recommended)
- to connect to local service, change rampsAPIURL in BrandReference.plist
To test JSON integration
- change Article.json with own json
- in TestArticleParsing, click the empty diamond left to testStrippingHTMLFromShortTitle()
To jump to an article
simulator -> hardware -> shake gestures -> unit testing -> jump to an article