Skip to Main Content
Hands-on Nuxt.js Web Development
book

Hands-on Nuxt.js Web Development

by Lau Tiam Kok Kok Lau
August 2020
Beginner to intermediate content levelBeginner to intermediate
698 pages
12h 2m
English
Packt Publishing
Content preview from Hands-on Nuxt.js Web Development
Writing End-to-End Tests

Writing tests is part of web development. The more complex and the bigger your app gets, the more you need to test the app, otherwise, it will break at some point and you will spend lots of time fixing bugs and patching things up. In this chapter, you will write end-to-end tests with AVA and jsdom for Nuxt apps, and also get hands-on experience of browser automated testing with Nightwatch. You will learn how to install these tools and set up the testing environment – so let's get started.

The topics we will cover in this chapter are as follows:

  • End-to-end testing versus unit testing
  • End-to-end testing tools
  • Writing tests with jsdomn and AVA for Nuxt apps
  • Introducing Nightwatch
  • Writing tests with Nightwatch for Nuxt ...
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

Test-Driven JavaScript Development

Test-Driven JavaScript Development

Ravi Kumar Gupta
Front-End Development Projects with Vue.js

Front-End Development Projects with Vue.js

Raymond Camden, Hugo Di Francesco, Clifford Gurney, Philip Kirkbride, Maya Shavin

Publisher Resources

ISBN: 9781789952698Supplemental Content