Summary
In this final chapter, we learned how to write simple unit tests using the sanjo:jasmine
package for Meteor's official testing framework, Velocity. We also took a brief look at possible acceptance test frameworks.
If you want to dig deeper into testing, you can take a look at the following resources:
- http://velocity.meteor.com
- http://jasmine.github.io
- http://www.cheatography.com/citguy/cheat-sheets/jasmine-js-testing
- http://doctorllama.wordpress.com/2014/09/22/bullet-proof-internationalised-meteor-applications-with-velocity-unit-testing-integration-testing-and-jasmine/
- http://arunoda.github.io/laika/
- https://github.com/xolvio/velocity
You can find this chapter's code files at https://www.packtpub.com/books/content/support/17713 or on GitHub at https://github.com/frozeman/book-building-single-page-web-apps-with-meteor/tree/chapter12.
Now that you have read the whole book, I assume you know a lot more about Meteor than before and are as excited about this framework as I am!
If you...