Test with Now App - HearstCorp/rover-wiki GitHub Wiki

Requirements

OSX 10.10.5 & Xcode 7.1.1

Setup

  1. clone repo https://github.com/Hearst-Digital/applab-now.git
  2. double click HearstNow.xcworkspace to open the project
  3. select any magazine brand from the left most dropdown, then mouse over to the right-most dropdown and choose a simulator. (iPhone6 is recommended)
  4. to connect to local service, change rampsAPIURL in BrandReference.plist

To test JSON integration

  1. change Article.json with own json
  2. in TestArticleParsing, click the empty diamond left to testStrippingHTMLFromShortTitle()

To jump to an article

simulator -> hardware -> shake gestures -> unit testing -> jump to an article