In this final chapter, we will discuss how we can test a Meteor app.
Testing is a comprehensive topic and it goes beyond the scope of this chapter. To keep it simple, we will briefly cover two tools available, as they are certainly different, and show a simple example for each.
In this chapter, we will cover the following topics:
Testing the
reactive-timer
packageUsing Jasmine to conduct unit tests on our app
Using Nightwatch to conduct acceptance tests on our app
Note
If you want to jump right into the chapter and follow the examples, download the code of Chapter 10, Deploying Our App, which contains the finished example app, either from the book's web page at https://www.packtpub.com/books/content/support/17713 or from the GitHub repository at https://github.com/frozeman/book-building-single-page-web-apps-with-meteor/tree/chapter10.