Skip to Main Content
Write Modern Web Apps with the MEAN Stack: Mongo, Express, AngularJS, and Node.js
book

Write Modern Web Apps with the MEAN Stack: Mongo, Express, AngularJS, and Node.js

by Jeff Dickey
September 2014
Intermediate to advanced content levelIntermediate to advanced
256 pages
5h 25m
English
Peachpit Press
Content preview from Write Modern Web Apps with the MEAN Stack: Mongo, Express, AngularJS, and Node.js

Chapter 10. Performing End-to-End Testing

In the previous chapter, you finished the core functionality of your social application by adding WebSockets for live updating. You’ll now ensure the stability with your application by adding in testing. There are two types of testing you will use in your project: end-to-end tests and unit tests.

End-to-end tests, also known as integration tests or feature tests, are used to test the functionality of the application as if a user were running it. They test all the components of the application from the UI down to the database. These tests are slow but are best for catching unexpected errors. End-to-end tests will be the focus of this chapter.

Unit tests involve testing a component by itself. In Chapters ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Node.js, MongoDB, and AngularJS Web Development

Node.js, MongoDB, and AngularJS Web Development

Brad Dayley

Publisher Resources

ISBN: 9780133962369Purchase book