qld-gov-au / qgov-mam-angularjs

Map-based information services based on Queensland Government data
http://qld-gov-au.github.io/qgov-mam-angularjs/demo/
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

devDependency Status

MAM template in AngularJS

This repo is provided as a sample for pulling data from the Queensland Government open data portal and presenting it in the MAM (Medium Awesome Map) page template.

Installation

  1. install node.js
  2. install grunt: npm install -g grunt-cli
  3. install dependencies: npm install

Development

  1. grunt
  2. Go to: http://localhost:8888

Testing

  1. run the installation steps above
  2. update webdriver (for tests) grunt install

Run all tests with

grunt test

Unit Testing

Single run tests

grunt test:unit

Auto watching tests

grunt autotest:unit

End to End Testing (Protractor)

Single run tests

grunt test:e2e

Auto watching tests

grunt autotest:e2e

Coverage Testing

grunt coverage

Based on Yearofmoo AngularJS Seed Repo.

A starter AngularJS repository for getting started with AngularJS. Includes helpful unit testing tools, Protractor integration and coverage testing.