Example of Real Time Development (RTD) with Meteor
This is a template project exemplifying the xolv.io RTD library with Meteor, using the leaderboard example. See here for more on RTD.
Provides stubs you need for Meteor to do:
- All your unit tests will run (using Jasmine, can easily be swapped for Mocha)
- All your end-to-end acceptance tests will run (using Selenium WebdriverJS)
- You'll get a test-coverage report
...every time you save a file!
We're building a complete deployment pipeline for Meteor apps, and creating a template project to share with the community. We're also blogging it and so far we have:
Ensure you have node and Meteor.
Now clone this project's git repo and run:
npm i -g karma phantomjs selenium-webdriver grunt-cli jasmine-node istanbul
git submodule init
git submodule update
cd test/rtd
npm install
And every time you start development, just run this:
cd test/rtd
grunt
Have a play around, and enjoy seeing realtime feedback from unit and acceptance tests, as well as test coverage every time you save a file. If you'd like to use RTD in your Meteor project, head over to our RTD library repo.