Getting Started With jQuery QUnit for Client-Side Javascript Testing (lostechies.com)

submitted by adminjewadminjew(1490) 3 years, 8 months ago

Your First QUnit Test To start testing, you’ll need to start by creating an HTML page (MyFooTests.htm, for example). This page will need to reference the jquery core JS file, testrunner.js, testsuite.css, as well as the JS file containing the code you’re going to be testing. Lastly, the page will need some special HTML at the bottom with well-known ID’s so that QUnit can display its output. When you’re done, you should have a rough skeleton like this:

add a comment |category: |Views: 80

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story