It makes sense to do this in Java if you want to periodically ensure your application works correctly e.g. after each change or each release. In this case you should write an unit test. If you want to do this, you should just test your applications Main method with an...
Template.currentData(): http://docs.meteor.com/#/full/template_currentdata I think it does exactly what you are looking for....