|
|
JTF : Test your JavaScript scripts on different browsers and operating systems
|
04/04/2006, By Ajax Impact News
|
Are you developing an Ajax application or any web page that is using JavaScript scripts and want to check the script on different browsers and operating systems?
JTF - Javascript unit Testing Farm provides a web front-end to allow you to test your javascript scripts on different browsers and operating systems. Its very easy to use, You just have to paste your code and JTF will do rest of the things for you.
How does it work?
You write your javascript and insert some code to indicate a failure (or a pass) using the same functions as in JsUnit and other unit testing frameworks. Then, every time a visitor views your test case, it performs the unit test on their browser... providing information if the test fails.
The more browser combinations that visit a particular test case - the more chance you (and the rest of the community) will have of finding what browsers do not work with your code.
Getting Started
Identify a section of your code that you want to test and clearly identify a success and a failure state. Your javascript script will run from top-to-bottom and you will insert some code to inform the back-end when the test has passed and when it has failed.
You need to provide a name for the test and description of what the test is designed to achieve - and that is about all! You can also add comments and respond to other comments to help debug or improve your script. It's easy to get started right away and add a test case of your own.
Don't forgot to check out the FAQ section for the Queries that are coming in your mind.
Explore JTF now....
|
Rate this Ajax News
Rating: 5.5 out of 2 votes cast
| |
|
|
| |
|
|
|
|
|
|
|
|