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

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

主站蜘蛛池模板: 大石桥市| 黎城县| 晴隆县| 肃宁县| 平江县| 福州市| 四平市| 台山市| 永川市| 平谷区| 亳州市| 永春县| 广丰县| 淳安县| 常山县| 哈尔滨市| 灯塔市| 甘南县| 晋城| 贡嘎县| 修武县| 萨嘎县| 滁州市| 麻城市| 津南区| 卫辉市| 阳泉市| 清新县| 蓝田县| 余姚市| 柳江县| 于田县| 晋江市| 金昌市| 额尔古纳市| 哈密市| 漳浦县| 新蔡县| 云林县| 六安市| 德安县|