- RSpec Essentials
- Mani Tadayon
- 154字
- 2021-07-09 19:33:36
Chapter 1. Exploring Testability from Unit Tests to Behavior-Driven Development
In this book, we are going to learn about RSpec in depth. But first, we need to lay some foundations. This chapter will introduce some important information that will prepare us for our exploration of RSpec.
First, we'll discuss the exciting promise of automated tests. We'll also discuss some of the pitfalls and challenges that are common when writing tests for real-world apps.
Next, we'll introduce the concept of testability, which will stay with us throughout this book. We'll then go over the technical assumptions made in the book.
We'll then start writing some simple unit tests with RSpec and explore the basic concepts of unit and test. We'll also start thinking about the usefulness of our tests and compare the cost of testing with its benefits.
Finally, we'll learn about two popular software methodologies: test-driven development (TDD) and behavior-driven development (BDD).
- Cocos2D-X權(quán)威指南(第2版)
- Dependency Injection in .NET Core 2.0
- Access 2010數(shù)據(jù)庫(kù)基礎(chǔ)與應(yīng)用項(xiàng)目式教程(第3版)
- C語(yǔ)言程序設(shè)計(jì)案例精粹
- OpenShift在企業(yè)中的實(shí)踐:PaaS DevOps微服務(wù)(第2版)
- Mobile Device Exploitation Cookbook
- 從0到1:HTML5 Canvas動(dòng)畫開(kāi)發(fā)
- 零基礎(chǔ)學(xué)C語(yǔ)言(升級(jí)版)
- C語(yǔ)言程序設(shè)計(jì)
- Hands-On Dependency Injection in Go
- Oracle Database XE 11gR2 Jump Start Guide
- Mastering OpenStack
- Java編程指南:語(yǔ)法基礎(chǔ)、面向?qū)ο蟆⒑瘮?shù)式編程與項(xiàng)目實(shí)戰(zhàn)
- Learning QGIS(Second Edition)
- Java與Android移動(dòng)應(yīng)用開(kāi)發(fā):技術(shù)、方法與實(shí)踐