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

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

主站蜘蛛池模板: 来宾市| 昭觉县| 和田县| 宁都县| 承德县| 鹰潭市| 乐平市| 于田县| 江城| 白沙| 阿瓦提县| 安多县| 资兴市| 洪泽县| 高州市| 沂南县| 青浦区| 芦山县| 济宁市| 大港区| 泗洪县| 元朗区| 扎囊县| 灌云县| 阳信县| 江门市| 沂源县| 秦安县| 西乡县| 进贤县| 罗源县| 孝感市| 阳新县| 鄄城县| 旬邑县| 井冈山市| 新津县| 高碑店市| 桃园市| 长丰县| 沙湾县|