惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
Threatpost
V
Vulnerabilities – Threatpost
TaoSecurity Blog
TaoSecurity Blog
C
Cybersecurity and Infrastructure Security Agency CISA
P
Proofpoint News Feed
G
GRAHAM CLULEY
S
Securelist
P
Palo Alto Networks Blog
MongoDB | Blog
MongoDB | Blog
A
Arctic Wolf
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
WordPress大学
WordPress大学
Project Zero
Project Zero
T
Threat Research - Cisco Blogs
L
Lohrmann on Cybersecurity
C
Cyber Attacks, Cyber Crime and Cyber Security
F
Fortinet All Blogs
博客园 - 叶小钗
B
Blog RSS Feed
C
Cisco Blogs
Google DeepMind News
Google DeepMind News
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Apple Machine Learning Research
Apple Machine Learning Research
G
Google Developers Blog
K
Kaspersky official blog
D
Docker
Latest news
Latest news
Cisco Talos Blog
Cisco Talos Blog
T
Tor Project blog
Cyberwarzone
Cyberwarzone
Security Latest
Security Latest
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Spread Privacy
Spread Privacy
Microsoft Azure Blog
Microsoft Azure Blog
C
Check Point Blog
J
Java Code Geeks
Simon Willison's Weblog
Simon Willison's Weblog
T
Tenable Blog
Recent Announcements
Recent Announcements
T
Tailwind CSS Blog
H
Help Net Security
L
LINUX DO - 热门话题
T
The Exploit Database - CXSecurity.com
Jina AI
Jina AI
S
SegmentFault 最新的问题
MyScale Blog
MyScale Blog
NISL@THU
NISL@THU
美团技术团队
腾讯CDC

博客园 - Justin

如何通过豆瓣API获取图书和电影列表 [职业生涯]美到极致是疯狂 [职业生涯]你和你的工作 [转]技术文化和惨淡命运 — 怀念中国雅虎 [jQuery]20+ Brilliant and Advanced jQuery Effects [Share]商务web应用程序的界面设计 [jQuery]25 Highly Useful jQuery Cheat Sheets For Web Developers [IE9] GPU硬件加速到底是实用创新还是噱头 [Share]10 Free EBooks for Web Designers [Share]历年 JOLT 获奖书籍(下载) [JavaScript]Javascript的一种模块模式 [html5]"元素"周期表 [Debug].NET Debugging and C++ Debugging Resources [Share]Web Directions Conferences [jQuery]30+ Brand New jQuery Plugins To Change the Look and Feel of Your Website [JSON]JavaScript 和 .NET 中的 JavaScript Object Notation (JSON) 简介 [Share]构建成功web应用的十项黄金法则 [Share]7月9号的精选好文链接 [jQuery]50 Useful JavaScript and jQuery Techniques and Plugins
[Share]JavaScript Testing Beginner's Guide
Justin · 2010-09-09 · via 博客园 - Justin

推荐这本难得的好书:

[ Detailed Information ]

Language : English
Paperback : 272 pages [ 235mm x 191mm ]
Release Date : August 2010
ISBN : 1849510008
ISBN 13 : 978-1-849510-00-4
Author(s) : Liang Yuxian Eugene

[ Book Links ]

Download EBook

[ In Detail ]

JavaScript is an important part of web development in today’s Web 2.0 world. While there are many JavaScript frameworks in the market, learning to write, test, and debug JavaScript without the help of any framework will make you a better JavaScript developer. However, testing and debugging can be time consuming, tedious, and painful. This book will ease your woes by providing various testing strategies, advice, and tool guides that will make testing smooth and easy.

This book shows you the most essential features of JavaScript, which you will be using in your daily development, testing, and debugging tasks. You will learn to use the most basic functions of JavaScript to perform ad hoc testing quickly and efficiently.

This book is organized in an easy to follow, step-by-step tutorial style to maximize your learning. You will first learn about the different types of errors you will most often encounter as a JavaScript developer. You will also learn the most essential features of JavaScript through our easy to follow examples.As you go along, you will learn how to write better JavaScript code through validation. Learning how to write validated code alone will help you improve tremendously as a JavaScript developer and most importantly, to write JavaScript code that runs better, faster, and with less bugs.

As our JavaScript program gets larger, we need better ways of testing our JavaScript code. You will learn how to go about various testing concepts and how to use them in your test plan. After which, you will learn how to implement the test plan for your code. To accommodate more complex JavaScript code, you will learn more about the built-in features of JavaScript to identify and catch different types of JavaScript error. Such information helps to spot the root of the problem so that you can act on it.

Finally, you will learn how to make use of the built-in browser tools and other external tools to automate your testing process.

Learn how to test and debug JavaScript through example-driven tutorials.


What you will learn from this book :

  • Relationship between HTML, CSS, and JavaScript
  • Different types of JavaScript error
  • How to perform ad hoc testing
  • How to validate your JavaScript code
  • Different testing concepts
  • Create a test plan and implement it
  • How to test more complex code by using JavaScript’s exception handling
  • Learn how to test the user interface controlled by JavaScript
  • How to debug your code using tools such as Google Chrome, Javascript Debugger, and Firefox's Venkman Extension.
  • How to further automate your testing process using Sahi, Qunit, and JsLitmus
  • Other testing tools that will make your testing process easier and less painful


Approach

This book is organized such that only the most essential information is provided to you in each chapter so as to maximize your learning. Examples and tutorials are given in an easy to follow, step-by-step manner so that you can see how the testing process is being carried out and how the code is being written. The source code also contains detailed explanation so that you know what the code is doing. Multiple screenshots are used in places that matter so that you have a visual sense of what is happening.


Who this book is written for

Beginner JavaScript developers looking for essential ways to write, test, and debug JavaScript for different purposes and situations.