|
|
submitted by
adminjew
4 months, 9 days ago
lostechies.com — 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:
|
|
tags:
Testing | tag it
Everyones tags: | Your tags: | |
|
|
|
Add a live kick counter to your blog >>
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:
Simply copy and paste this HTML into your blog post.
Users who kicked this story:
No comments so far
|