- Test-Driven JavaScript Development
- Ravi Kumar Gupta Hetal Prajapati Harmeet Singh
- 149字
- 2021-07-30 09:59:10
Chapter 2. Testing Concepts
There are a number of ways and methods to test software quality. TDD is focused on testing the small pieces of code using unit tests. Unit tests play a big and important role in TDD irrespective of the programming language. While learning TDD, it is essential to understand unit testing and testing frameworks. In the previous chapter, you learned about the life cycle of TDD. Now with examples, we will see how each step of the life cycle is executed. For this chapter, we will try to showcase examples using YUI (short for Yahoo User Interface) because of its simplicity and easy-to-understand functions.
In this chapter, you will learn about unit testing, a little about frameworks, how a test is written, actions, and assertions in unit tests. In this chapter, you will learn the following:
- Unit testing
- Following the process
- Benefits and pitfalls
- iOS Game Programming Cookbook
- UML和模式應(yīng)用(原書第3版)
- 零基礎(chǔ)學(xué)C++程序設(shè)計(jì)
- Microsoft Dynamics 365 Extensions Cookbook
- Rust Cookbook
- Java持續(xù)交付
- Learning Neo4j 3.x(Second Edition)
- 名師講壇:Java微服務(wù)架構(gòu)實(shí)戰(zhàn)(SpringBoot+SpringCloud+Docker+RabbitMQ)
- SQL Server 2012數(shù)據(jù)庫管理與開發(fā)項(xiàng)目教程
- C#程序設(shè)計(jì)
- 持續(xù)輕量級Java EE開發(fā):編寫可測試的代碼
- uni-app跨平臺開發(fā)與應(yīng)用從入門到實(shí)踐
- C語言程序設(shè)計(jì)實(shí)訓(xùn)教程與水平考試指導(dǎo)
- Learning Python Data Visualization
- 遠(yuǎn)方:兩位持續(xù)創(chuàng)業(yè)者的點(diǎn)滴思考