I use jasmine-node to test my Meteor application, and I want to use the automatic testing function, so I do not need to re-run the tests myself.
My meteor application folder structure is as follows:
server foo.coffee tests foo.spec.coffee
And with the spec file, I want to check the code that is in foo.coffee. I start jasmine - node with these arguments:
jasmine-node ./ --autotest --coffee --test-dir tests
And now I would suggest that the autotest function will respond to all changes in the root folder, but it will simply respond to changes in the test folder. And I cannot run it in the root folder because I get an error message in the .meteor files (and I do not want me to have jasmine testing / including meteorite code).
So, I want jasmine to re-run the tests, even if I change the code in the server folder. How can i achieve this?
source share