Testing MeteorJS application
Testing is as important as the development for a product. Testing is again a big cycle that ensures the quality of the product. As developers, we also play a major role in testing. In fact, we are the ones who start testing the product which then is passed to QA for extensive behavior, interaction, and all other possible testing. In this part of the chapter, we are going to learn how to write unit tests and integration tests.
MeteorJS doesn't provide any testing tools. However, it has announced Velocity (http://velocity.meteor.com/) as the official testing framework. You can read about Velocity on its website (http://velocity.meteor.com/faq).
Velocity
Velocity is an ecosystem that allows us to use various existing testing tools to work together for our MeteorJS application. For example, Mocha, Jasmine, and Cucumber. They all will use the same reporter (the reporter is responsible for telling the user what tests have passed and failed). Visit the website at...