编程技术讲解客户端脚本语言JavaScriptUnit

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
The Name Bad books Amateurs Object Oriented?
编程技术讲解客户端脚本语言 JavaScriptUnit
Unit Testing
编程技术讲解客户端脚本语言 JavaScriptUnit
What is Unit Testing?
» Units of source code are tested » Written and run by developers to ensure that code meets its design and behaves
Samples (JavaScript - QUnit)
编程技术讲解客户端脚本语言 JavaScriptUnit
Test Driven Development (TDD)
» Writes a failing automated test case that defines a desired improvement or new function
Samples (Java - JUnit)
编程技术讲解客户端脚本语言 JavaScriptUnit
Samples (Java - JUnit)
编程技术讲解客户端脚本语言 JavaScriptUnit
Samples (JavaScript - QUnit)
编程技Biblioteka Baidu讲解客户端脚本语言 JavaScriptUnit
编程技术讲解客户端脚本语言 JavaScriptUnit
What is JavaScript?
» An implementation of the ECMAScript language standard » The King of client-side scripting for web » A prototype-based object-oriented scripting language » “The world's most misunderstood programming language” (Douglas Crockford)
20 08: attendee 2009: Advanced JavaScript Techniques 2010: JavaScript Unit Testing Framework
» Work mostly with Java but have much interest in JavaScript » Twitter: @hoatle
编程技术讲解客户端脚本语言 JavaScriptUnit
Agenda
» JavaScript » Unit Testing » JavaScript Unit Testing Frameworks » Fun time for coding
编程技术讲解客户端脚本语言 JavaScriptUnit
JavaScript
» Implements code to pass that test » Finally refactors
编程技术讲解客户端脚本语言 JavaScriptUnit
Test Driven Development (TDD)
(wikipedia)
编程技术讲解客户端脚本语言 JavaScriptUnit
as intended and expected » Commonly automated » Extreme Programming uses the creation of unit tests for test-driven development
编程技术讲解客户端脚本语言 JavaScriptUnit
编程技术讲解客户端脚 本语言JavaScriptUnit
2020/12/13
编程技术讲解客户端脚本语言 JavaScriptUnit
JavaScript Unit Testing Framework
Presenter: Hoat Le Van (aka hoatle)
» eXo Social Team Leader » Hanoi PHP Day:
Unit Testing Benefits
» To isolate each part of the program and show that the individual parts are correct » Facilitates change » Documentation » Design
3rew
演讲完毕,谢谢听讲!
再见,see you again
2020/12/13
编程技术讲解客户端脚本语言 JavaScriptUnit
编程技术讲解客户端脚本语言 JavaScriptUnit
JavaScript Unit Testing Frameworks
编程技术讲解客户端脚本语言 JavaScriptUnit
JavaScript Unit Testing Frameworks
编程技术讲解客户端脚本语言 JavaScriptUnit
相关文档
最新文档