qunit
"Introduced global variable(s) _firebug" in QUnit tests
I am using Q开发者_开发问答Unit to perform various simple tests on my website. One of the tests is creating a dialog, showing it and then closing it. The test runs fine, but when run on Firefox with F[详细]
2023-04-12 06:55 分类:问答jQuery Ajax: Reference MVC controller url from App root
I have an ASP.NET MVC web application running from http://localhost/myappname.From jQuery, I make jQuery $.ajax() calls to return partial views based on some user action.I usually call this from a vie[详细]
2023-04-12 04:07 分类:问答Qunit testing with no passed Vars
I am trying to make a test of a function that does some pretty simple validation for a form. However I cannot figure out how to use qunit without passing vars to the function.[详细]
2023-04-11 10:45 分类:问答How do I escape CoffeeScript reserved words?
I\'m trying to run some unit tests using QUnit written in CoffeeScript but there seems to be some reserved words that are causing problems, most notably \"not\". Is there a way to escape a CoffeeScrip[详细]
2023-04-09 09:13 分类:问答Testing code that uses another framework than jQuery using QUnit?
I am writing a small library that can use several frameworks (jQuery, Prototype, YUI2 at the moment) as its backend and I am testing it using QUnit. However, QUnit requires jQuery.[详细]
2023-04-08 20:18 分类:问答testing http.get() with qunit in node.js
I\'m trying to write a simple qunit test for a node.js library, code.js. The first test case is the simplest one i\'m trying and doesn\'t use any exported function in my code.js library, but it doesn\[详细]
2023-04-07 18:32 分类:问答Qunit crashing when used with Date.js
I\'m using Qunit and Date.js to test some API functions that I wrote. Here\'s my code: asyncTest(\"createDeal\", 4, function () {[详细]
2023-04-05 16:09 分类:问答How can I trigger the Twitter intents events programmatically?
The Facebook JS SDK has the equivalent of jQuery\'s trigger() function, FB.Event.fire that allows you to trigger the handlers you attach for particular events. Its helpful for my unit tests in QUnit.[详细]
2023-04-03 08:22 分类:问答How to create makefile to compile JavaScripts?
How can I (and what tools do I need to) create a makefile that: Combine all JavaScripts \'/js/*.js\' (in a manual order - possibly with cat)[详细]
2023-04-01 13:10 分类:问答Testing a whole page redirect in qUnit
I have the following function var redirect = function() { window.location.href = \"http://www.google.com\";[详细]
2023-03-31 12:20 分类:问答