Book Image

Mastering Web Application Development with Express

By : Alexandru Vladutu
Book Image

Mastering Web Application Development with Express

By: Alexandru Vladutu

Overview of this book

Table of Contents (18 chapters)
Mastering Web Application Development with Express
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 11. Testing and Improving Code Quality

In this chapter, we are going to see how to test Express applications and how to improve the code quality of our code by leveraging existing NPM modules. We will cover the following topics:

  • Testing Express applications with Mocha, should.js, and supertest

  • Mocking Node modules using proxyquire

  • Code coverage

  • Load testing

  • Static analysis tools

  • Automatically running tests before committing

  • Continuous Integration

  • An overview of client-side testing tools