To run tests within generator-adaptivejs itself (generator source code will be linted as well):
To run unit and integration tests in the generated project:
To run nightwatch WebDriver tests in the generated project:
To run nightwatch tests locally on a real device (android or ios, requires Appium):
grunt android (or grunt ios)
To run nightwatch tests on an Android emulator or iOS simulator on Sauce Labs:
grunt sauce-android (or grunt sauce-ios)
Building a custom selector library
The Adaptive generator allows you to install one of two selector libraries: jQuery or Zepto. We build custom versions of these selector libraries in order to add/remove specific features we require/don't require. Follow the directions below to build a custom version of your selector library of choice.
By default, we remove a number of jQuery modules to reduce the overall file size. Please see the jQuery README in github for more information.