- 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).
- Flask Web全棧開發實戰
- 深入淺出數據科學:Python編程
- 觸·心:DT時代的大數據精準營銷
- Spring Boot開發與測試實戰
- 零起步玩轉掌控板與Mind+
- 構建移動網站與APP:HTML 5移動開發入門與實戰(跨平臺移動開發叢書)
- Rust編程從入門到實戰
- HTML5游戲開發案例教程
- INSTANT OpenNMS Starter
- KnockoutJS Starter
- JavaScript 程序設計案例教程
- 從Java到Web程序設計教程
- C/C++程序員面試指南
- Julia 1.0 Programming Complete Reference Guide
- Secret Recipes of the Python Ninja