官术网_书友最值得收藏!

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

主站蜘蛛池模板: 崇州市| 赣州市| 龙州县| 当雄县| 宜宾市| 泸溪县| 舞钢市| 义乌市| 淮南市| 大余县| 张家川| 澄江县| 恩施市| 苏尼特右旗| 台北市| 攀枝花市| 邵东县| 奈曼旗| 武城县| 抚顺县| 东平县| 乌兰县| 偃师市| 庆阳市| 呼和浩特市| 绥江县| 双鸭山市| 广河县| 平潭县| 宜城市| 嘉禾县| 宁明县| 内丘县| 青冈县| 长春市| 东乌珠穆沁旗| 韶山市| 茌平县| 台安县| 武威市| 易门县|