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

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

主站蜘蛛池模板: 青铜峡市| 兰西县| 华亭县| 丰城市| 扶沟县| 布尔津县| 平罗县| 崇州市| 宜黄县| 客服| 景泰县| 疏附县| 喀喇| 呼图壁县| 开江县| 西藏| 峨眉山市| 炉霍县| 寿宁县| 沽源县| 临潭县| 韶山市| 临西县| 龙川县| 无棣县| 宜兰市| 苍溪县| 鄂托克旗| 赤壁市| 黔西| 朝阳县| 大化| 霍城县| 玉田县| 田东县| 正宁县| 桃园市| 循化| 日照市| 西昌市| 吴旗县|