Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 487 Bytes

testing.markdown

File metadata and controls

10 lines (8 loc) · 487 Bytes

Unit testing Apps

Unit tests can be added for your App.

  1. After creating a new App using the rab init AppName command.
    1. You will notice that there are a few new files when the app is created.
    2. The package.json file is used to make your app a local node application.
    3. The Gruntfile.js file holds the instructions for how to test your app.
  2. Install local dependencies for the testing environment using npm install.
  3. Run the example test using grunt.