O'Reilly logo

AngularJS Testing Cookbook by Simon Bailey

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Automating test runners using Grunt

The amount of tasks within an AngularJS-based project can rapidly increase, such as running an HTTP server, unit test runner, end-to-end test runner, or automating testing. These repetitive tasks can be automated using task runners such as Grunt (which you can download at http://gruntjs.com/), and Gulp (which can be downloaded at http://gulpjs.com/).

Grunt has been at the forefront of task runners for quite some time now; the community is vast with a great selection of available plugins. Grunt advises a global installation of its Command Line Interface (CLI) to access the grunt command anywhere on your system. Project and task configuration is contained within a Gruntfile, including the loading of plugins to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required