I'm testing with qunit. When there's a JS error (this last one was an incredibly obscure syntax error in a complex mock object in my test) in either the unit test itself or in the code under test qunit will just die without reporting any errors to the console, leaving me to go treasure hunting trying to find the error, while qunit just shows the unhelpful:
Testing /path/to/code/under/test ...
So either I'd like to see JS errors propagated to the console or some method of running my unit tests through node to have it check for syntax errors so I don't have to sift through manually.
Thanks.
Aucun commentaire:
Enregistrer un commentaire