[Share]JavaScript Testing Beginner's Guide-阿里云开发者社区

开发者社区> 吞吞吐吐的> 正文

[Share]JavaScript Testing Beginner's Guide

简介:
+关注继续查看

推荐这本难得的好书:

2010090909030023.jpg

[ 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.

作者:Justin

本文转自Justin博客园博客,原文链接:http://www.cnblogs.com/justinw/archive/2010/09/09/1821943.html,如需转载请自行联系原作者

版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。

相关文章
【中秋赏月】信手拈来一款中秋节日历提醒服务
关于这次中秋征文的内容,自己确实想了好久,因为作为一名后端研发工程师,不太想去搞一个酷炫的界面,感觉那是前端同学的蛋糕。想利用自己的技能优势,搞一波儿事情。同时又想有所创新,搞点别人没有搞过的,终于昨天确定了文章的内容——开发一款中秋节日历提醒服务,今天开始正式干活儿。
5 0
参考阿里规范,优秀的 Java 项目代码都是如何分层的?
说起应用分层,大部分人都会认为这个不是很简单嘛 就controller,service, mapper三层。看起来简单,很多人
9 0
【DBMS 数据库管理系统】数据仓库 数据组织 ( 数据组织级别 | 元数据 | 粒度 | 分割 | 数据组织形式 )(一)
【DBMS 数据库管理系统】数据仓库 数据组织 ( 数据组织级别 | 元数据 | 粒度 | 分割 | 数据组织形式 )(一)
7 0
使用Golang语言实现对指定存储桶的删除方法(下)
上一篇文章《使用Golang语言实现对指定存储桶的删除方法(上)》中介绍了删除存储桶前的校验逻辑,今天就来看一看,具体删除存储桶时的逻辑处理。通过上下两篇文章的介绍基本上就把删除存储桶的底层源码实现讲清楚了。正文我们直接进入正题,当删除存储桶时,大概需要三个层逻辑。具体情况,我们接下来单独介绍。
6 0
【DBMS 数据库管理系统】OLTP 联机事务处理 与 OLAP 联机分析处理 ( 数据仓库 与 OLAP | OLAP 联机分析处理 | OLTP 与 OLAP 区别 )
【DBMS 数据库管理系统】OLTP 联机事务处理 与 OLAP 联机分析处理 ( 数据仓库 与 OLAP | OLAP 联机分析处理 | OLTP 与 OLAP 区别 )
10 0
史上最全VSCode插件,怪不得写代码头疼,VSCod安装与配置(适合小白)
史上最全VSCode插件,怪不得写代码头疼,VSCod安装与配置(适合小白)
7 0
超实用的 Nginx 极简教程,覆盖了常用场景
什么是 Nginx? Nginx (engine x) 是一款轻量级的 Web 服务器 、反向代理服务器及电子邮件(IMAP/POP3)代理服务器。
15 0
一份 Spring Boot 项目搭建模板
一份 Spring Boot 项目搭建模板 前言 建立一个全新的项目,或者把旧的庞大的项目,进行拆分成多个项目。在建立新的项目中,经常需要做一
12 0
一个注解,搞定 SpringBoot 操作日志
SpringBoot入口打开开关,添加 @EnableLogRecord 注解 tenant是代表租户的标识,一般一个服务或者一个业务下的多个服务都写死一个 tenant 就可以
12 0
一个注解,搞定 SpringBoot 操作日志
SpringBoot入口打开开关,添加 @EnableLogRecord 注解 tenant是代表租户的标识,一般一个服务或者一个业务下的多个服务都写死一个 tenant 就可以
5 0
4852
文章
0
问答
文章排行榜
最热
最新
相关电子书
更多
《2021云上架构与运维峰会演讲合集》
立即下载
《零基础CSS入门教程》
立即下载
《零基础HTML入门教程》
立即下载