O'Reilly logo

Hands-On Full Stack Web Development with Aurelia by Erikson Haziz Murrugarra Sifuentes, Diego Jose Arguelles Rojas

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

Configuring applications for integration testing

The only prerequisite you need is the Node runtime environment running correctly. In JavaScript, we have some tools to make integration tests, such as the following:

  • SuperTest: The best feature is its strong documentation; easy to understand and implement, you just need to write a few lines of code to start testing your application.
  • Mocha: A simple JavaScript test framework. It can be executed in the web browser or in your Node environment. Since Mocha is based on JavaScript, it can execute asynchronous tests and generate very useful reports.

We will use both tools together for our testing purposes.

With SuperTest, you gain advantages such as the following:

  • You can simulate a multiple user ...

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