I'm writing a small meteor app and simultanously I'm trying to practice TDD. I've run into a small hurdle in that I can't figure out how I can run my Jasmine unit tests through a debugger.
The tests are stored in [project root]/tests/jasmine/client/unit as in the example.
The velocity docs detail how to debug the server-side tests here, but it doesn't mention client-side tests.
It took me a while, but I managed to figure out that Meteor-Jasmine writes the output from console.log in the unit tests to [project root]/.meteor/local/log/jasmine-client-unit.log. That is serviceable, but I would prefer to be able to run the tests through a debugger, since I find it easier to figure out what I did wrong.
I'm using
- meteor 1.2.0.2
- sanjo:jasmine 0.20.2
Aucun commentaire:
Enregistrer un commentaire