Jasmine is a behavior-driven development framework for testing JavaScript code. It does not depend on any other JavaScript frameworks. It does not require a DOM. And it has a clean, obvious syntax so that you can easily write tests.

learn more… | top users | synonyms

3
votes
1answer
49 views

Testing async API calls using Jasmine 2.0

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 ...
2
votes
1answer
95 views

Integration test in Jasmine

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 ...
1
vote
1answer
76 views

Is this a good approach to unit testing?

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 ...
0
votes
0answers
491 views

review jasmine tests: spyOn click events and check call function

I try to write jasmine tests and I need a review and some advices to spy on events and there behavior. ...