The Artima Developer Community
Sponsored Link

Java Buzz Forum
Your quick guide to better JavaScript testing

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
News Manager

Posts: 47623
Nickname: newsman
Registered: Apr, 2003

News Manager is the force behind the news at Artima.com.
Your quick guide to better JavaScript testing Posted: Mar 13, 2014 4:36 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by News Manager.
Original Post: Your quick guide to better JavaScript testing
Feed Title: JavaWorld
Feed URL: http://www.javaworld.com/index.rss
Feed Description: JavaWorld.com: Fueling Innovation
Latest Java Buzz Posts
Latest Java Buzz Posts by News Manager
Latest Posts From JavaWorld

Advertisement

Let me say this as simply as possible: You need to test your JavaScript code. Yes, I understand how easy it is to drag your feet when you don't know about the tools that make testing quick and painless for you. That's why I'm here to help.

In my early days of testing, my biggest hangup was the drudgery of configuring and running tests. The "test runner" was at the center of the pain: It consisted of an HTML page that included the test framework, all of my JavaScript files, and all of my test files. To run my tests, I needed to open the page in a browser and run it to see the results. When a test failed, I'd fix some code, return to the browser, and refresh -- or rather, test across multiple browsers and refresh them all, watching each individually for results. To make matters worse, to add a new source file or test, I'd have to manually modify the test runner page to include the new files.

To read this article in full or to leave a comment, please click here

Read: Your quick guide to better JavaScript testing

Topic: Online Java Compiler – What options are there Previous Topic   Next Topic Topic: Spring MVC Hello World Example

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use