jasmine
How to mock JQuery with Jasmine?
How can I test that a certain JQuery selector has been executed with Jasmine? I\'m trying to do the following:[详细]
2023-04-12 18:24 分类:问答Parsing JUnit XML with Hudson
I\'m using Jasmine-reporters with Jasmine to output a bunch of JUnitXML format files that I need Hudson to parse for me and report on success/开发者_运维百科failure. Does anybody know how I would ask[详细]
2023-04-12 04:20 分类:问答Testing DOM manipulation with Jasmine
I\'m creating a JS widget and first part is to add script with javascript, something like this (example from google analytics):[详细]
2023-04-11 17:06 分类:问答Is there a way to include external Javascript as a source to Jasmine?
I am trying to configure jasmine.yml (using jasm开发者_StackOverflowine gem) to use JQuery served from Google API instead of downloading it locally to my server. I.e.:[详细]
2023-04-11 13:16 分类:问答How can we run JavaScript jasmine tests from Jenkins (Hudson) without loading a JSP?
We have a rich web client. Our controllers and service facades are written in coffeescript (JavaScript) and jquery. In the past they would have been java.[详细]
2023-04-10 05:56 分类:问答Jasmine and node.js
Have some Jasmine+Rhino combo to test the javascript code and trying to shift to node.js. However, couldn\'t find any setup instructions on the net (but only this link, with nearly zero instructions).[详细]
2023-04-10 05:50 分类:问答testing backbone.js view events with jasmine
I\'m trying to implement view tests for a Coffeescript implementation of the ubiquitous backbone.js \'todo\' example (see github.com/rsim/backbone_coffeescript_demo.)[详细]
2023-04-08 22:31 分类:问答Ajax not executed with Jasmine
I have troubles executing ajax with the Jasmine BDD framework. I want to test the actual ajax calls, not make fake responses. I have read the documentation and tried everything but it seems that the[详细]
2023-04-08 12:14 分类:问答Mock/Stub constructor
I have the following code: class Clients constructor : -> @clients = [] createClient : (name)-> client = new Client name[详细]
2023-04-07 17:48 分类:问答Jasminerice and stylesheets for fixtures
I have found jasminerice very helpful for getting all my Jasmine tests to run via Rails 3.1\'s asset pipeline. The only thing I remain stuck with, is that I cannot get my setup to load any stylesheets[详细]
2023-04-07 13:06 分类:问答