I am looking for some pointers/feedback on how to write better modules and simple tests. This is a simple module which displays (unfortunately an infame for now — yes I know it's bad) the user's cart ...
I'm upgrading my project from YouTube's V2 API to their V3 API. I'm also taking the time to upgrade to Jasmine 2.0 since I already need to look at my test cases. Here's a couple of test cases and the ...
This integration test involves database access and hence opening and closing a database connection. Does it look correct? I am concerned about ensuring the the database connection is closed should the ...
I'm relatively new to unit testing and having gone through quite a bit of pain I was starting to feel pretty good about my tests. The problem is, now I have a nice set of green ticks I'm also ...
I try to write jasmine tests and I need a review and some advices to spy on events and there behavior. ...