Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Front-End Code Quality, Part 2 [Video]

DZone's Guide to

Front-End Code Quality, Part 2 [Video]

Welcome back! We continue our series on front-end code quality by exploring how ew can use two great unit testing tools form the command line.

· Web Dev Zone ·
Free Resource

Learn how error monitoring with Sentry closes the gap between the product team and your customers. With Sentry, you can focus on what you do best: building and scaling software that makes your users’ lives better.

2- Running Jasmine JavaScript Unit Test From the Command Line Using Grunt

In this video, we go over how to run JavaScript unit tests written in Jasmine from the command line using Grunt and PhantomJS. This post includes how to install Node.js with npm (Node Package Manager), how to install Grunt CLI (Command Line Interface), how to install contrib-jasmine npm, how to create a Node.js default configuration file (pacakges.json), how to create the first Gruntfile.js configuration file, how to set the configuration to run Jasmine inside Gruntfile.js, and how to ignore node_modules from Git source control so it will be ready for build automation in our forthcoming videos.


What’s the best way to boost the efficiency of your product team and ship with confidence? Check out this ebook to learn how Sentry's real-time error monitoring helps developers stay in their workflow to fix bugs before the user even knows there’s a problem.

Topics:
web dev ,front-end development ,code quality ,grunt

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}