jasmine
Jasmine: reverting back prototype method after unit test
To test a certain part of my code I need to mock out a prototype method to make sure it\'s called. The code looks something like this.[详细]
2023-03-04 19:34 分类:问答How do I configure paths to my javascript files in the Jasmine / Maven autogenerated ManualSpecRunner.html?
I think the question says most of it.I have an autogenerated ManualSpecRunner.html file as created by maven / jasmine plug-in and I\'ve got it to put itself into the deployable .war by using:[详细]
2023-03-03 10:44 分类:问答Coffeescript + Unit Testing : Global Variables?
I\'m trying to use Jasmine for unit testing for a small application written in coffeescript. I\'ve found many sources saying that unit testing can be done perfectly well on JS compiled from coffeescri[详细]
2023-02-21 22:03 分类:问答Spying on JQuery Selectors in Jasmine
I am unit testing some JavaScript with Jasmine and wish to spy on (mock) an element of the DOM that is accessed by a jQuery selector.[详细]
2023-02-17 04:41 分类:问答《Jasmine》MP3歌词-DPR LIVE (라이브)?
Jasmine DPR LIVE (라이브) 专辑:Her 语种: 韩语 流派: Rap/Hip Hop 唱片公司:UNIVERSAL BROTHERS KOREA,INC[详细]
2023-02-15 21:39 分类:问答What's a good way to reuse test code using Jasmine?
I\'m using the Jasmine BDD Javascript library and really enjoying it.I have test code that I\'d like to reuse (for example, testing multiple implementations of a 开发者_开发技巧base class or running t[详细]
2023-02-12 10:38 分类:问答HAML-Fixtures with jasmine
Is it possible to use haml-fixtures in conjunction with jasmine-jquery? I\'m not really satisfied with having to create a lot of static html-fixtures because all of my views are written开发者_开发知识[详细]
2023-02-10 15:23 分类:问答mocking window.location.href in Javascript
I have some unit tests for a function that makes use of the window.location.href -- not ideal I would far rather have passed this in but its not possible in the implementation. I\'m just wondering if[详细]
2023-02-06 20:09 分类:问答jasmine and jquery-ui - effect() method does not exist
This is pretty simple.My JS is just calling: $(\"#search_box\").focus().effect(\"highlight\",{},3000);[详细]
2023-02-03 19:02 分类:问答How do I verify jQuery AJAX events with Jasmine?
I am trying to use Jasmine to write some BDD specs for basic jQuery AJAX requests. I am currently using Jasmine in standalone mode (i.e. through SpecRunner.html). I have configured SpecRunner to load[详细]
2023-02-03 13:05 分类:问答