Over a million developers have joined DZone.

Testing Tuesday #19: Testing Node.js Applications with Jasmine

· Performance Zone

Evolve your approach to Application Performance Monitoring by adopting five best practices that are outlined and explored in this e-book, brought to you in partnership with BMC.


This is the 19th Testing Tuesday episode. Every week we will share our insights and opinions on the software testing space. Drop by every Tuesday to learn more! Last week we tested asynchronous JavaScript operations with Jasmine.


How to Test Node.js Applications With Jasmine

We’ve already covered Jasmine in the last three Testing Tuesday episodes. Especially Testing Tuesday #16 will get you up and runnig if you’re not familiar with Jasmine already.

After a few episodes about testing your web application's frontend JavaScript code with Jasmine, we will show you how to test node.js applications with Jasmine today. We’ll use the excellent jasmine-node package to run unit tests from our console.

It’s even possible to run your tests automatically every time you save a file. In this screencast we will show you how!

Up Next Testing Tuesday: Continuous Deployment of Node.js Applications

Having an automated test suite helps a lot when developing software, but it also makes it possible to deploy your code automatically on every change! Next week we’ll show you how to continuously deploy your Node.js applications to Heroku with the Codeship. If you’ve got any questions or suggestions, please leave us a comment!

Further info:

Learn tips and best practices for optimizing your capacity management strategy with the Market Guide for Capacity Management, brought to you in partnership with BMC.

Topics:

Published at DZone with permission of Clemens Helm, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

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

{{ parent.tldr }}

{{ parent.urlSource.name }}