Skip to Content
可測試的JAVASCRIPT
book

可測試的JAVASCRIPT

by Mark Ethan Trostler
January 2014
Intermediate to advanced
288 pages
5h 9m
Chinese
GoTop Information, Inc.

Overview

程式碼可靠度認證

「以相關主題而言,是一本內容豐富、詳盡的書,我推薦給每個關心JavaScript的讀者」──Shelley Powers
JavaScript Cookbook的作者

專業JavaScript開發人員必備的技能之一,是撰寫可測試的程式碼的能力。不論是開發新應用程式或重寫既有的程式碼。本書將告訴你,撰寫與維護用戶端或伺服端中可測試的JavaScript程式。

從降低程式法的複雜度的方式到單元測試、程式碼涵蓋率、除錯以及自動化的主題,透過本書可以學到一個整體性的做法,進而寫出的JavaScript程式碼是你和同事可以容易修正與持續維護的。測試JavaScript程式碼是複雜的,本書極力協助你簡化測試流程。

*簡介敏捷開發、測試驅動開發以及行為驅動開發
*使用靜態語言的樣式與標準基礎的JavaScript規則減少程式碼複雜度
*學習事件基礎架構的優點,包含模組化、鬆散耦合以及可重複使用特性
*探索撰寫與執行函式層級以及應用程式層級的單元測試的工具
*產生程式碼涵蓋率來量測測試程式的範疇與效能
*使用Selenium與CasperJS實行整合、效能、以及負載測試
*使用瀏覽器內建、Node.js、行動裝置、以及產品等相關的除錯工具
*了解自動化開發程序的定義、使用時間以及實行方式

Mark Ethan Trostler 是Google廣告業務部門的軟體工程師,負責軟體測試的工作。對於撰寫與測試程式碼已經有超過20年的經驗,曾經任職於IPivot、Qualcomm、Intel、Redback Networks、Juniper Networks、以及Yahoo!等公司。他是Open Source JavaScript Unit Test Environment(https://github.com/zzo/JUTE)的作者。

 

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

JAVASCRIPT錦囊妙計第二版

JAVASCRIPT錦囊妙計第二版

Shelley Powers
持續交付|使用Java

持續交付|使用Java

Daniel Bryant, Abraham Marín-Pérez

Publisher Resources

ISBN: 9789863470090