Following Meteor tutorial, I created a todo app at linxea.note.meteor.com . I like the short and easy tutorial. The todo app however takes roughly 3 seconds to fetch data from server, thus I added a page loader. TODO: Find out why it takes so long.
Next, Velocity seems to be the best choice for meteor unit testing. Under that there are mocha and jasmine and other frameworks, know more here.
I added Mocha framework. Solved some errors that stopped the app from running like node version should be in 0.10.33 else there will be error with fibers, only one app is running mocha at a time.
Deploying the app after adding Mocha is not possible because of "Error: not a tracked temp dir". So far, the easiest solution is to remove mocha package, deploy the app and then add back mocha package.
meteor remove mike:mocha
meteor deploy app.meteor.com
meteor add mike:mocha
Done.
Now to find a good structure or boilerplate to begin building the app.
Next, Velocity seems to be the best choice for meteor unit testing. Under that there are mocha and jasmine and other frameworks, know more here.
I added Mocha framework. Solved some errors that stopped the app from running like node version should be in 0.10.33 else there will be error with fibers, only one app is running mocha at a time.
Deploying the app after adding Mocha is not possible because of "Error: not a tracked temp dir". So far, the easiest solution is to remove mocha package, deploy the app and then add back mocha package.
meteor remove mike:mocha
meteor deploy app.meteor.com
meteor add mike:mocha
Done.
Now to find a good structure or boilerplate to begin building the app.



