JavaScript Unit Test Tool

Source: Internet
Author: User

Unit testing is concerned with verifying that the execution of a module or piece of code is the same as the design or expectation. Some developers believe that writing test cases is a waste of time and prefers to write new modules. However, unit testing can actually save time when working with large applications, which helps you keep track of problems and update your code safely.

Common abbreviations
  • DOM: Document Object Model
  • HTML: Hypertext Markup Language
  • Jstd:jstestdriver
  • Yui:yahoo! User Interface

In the past, only unit tests were performed on server-side languages. But the growing complexity of front-end components makes it increasingly more demanding to write JavaScript code test cases. If you do not regularly write client-side script tests, learning progress can be very difficult. Testing the user interface may require some tweaking in your thinking. (Some program developers 1:30 will not believe that JavaScript is the right programming language.) )

Source: IBM Technical Documentation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.