图书标签: Ruby RSpec Web Test Ruby红宝石 Programming
发表于2024-11-25
Effective Testing with RSpec 3 pdf epub mobi txt 电子书 下载 2024
"Our tests are broken again!" "Why does the suite take so long to run?" "What value are we getting from these tests anyway?" Solve your testing problems by building and maintaining quality software with RSpec - the popular BDD-flavored Ruby testing framework. This definitive guide from RSpec's lead developer shows you how to use RSpec to drive more maintainable designs, specify and document expected behavior, and prevent regressions during refactoring. Build a project using RSpec to design, describe, and test the behavior of your code. Whether you're new to automated tests or have been using them for years, this book will help you write more effective tests.
RSpec has been downloaded more than 100 million times and has inspired countless test frameworks in other languages. Use this influential Ruby testing framework to iteratively develop a project with the confidence that comes from well-tested code. This book guides you through creating a Ruby project with RSpec, and explores the individual components in detail.
Start by learning the basics of installing and using RSpec. Then build a real-world JSON API, using RSpec throughout the process to drive a BDD-style outside-in workflow. Apply an effective test strategy to write fast, robust tests that support evolutionary design through refactoring. The rest of the book provides the definitive guide to RSpec's components. Use rspec-core's metadata to slice and dice your spec suite. Dig into rspec-expectations' matchers: compose them in flexible ways, specify expected outcomes with precision, and diagnose problems quickly with the help of good failure messages. Write fast, isolated tests with rspec-mocks' test doubles while pushing your code toward simpler interfaces.
The authors, with a combined 20 years of automated testing experience, share testing wisdom that will lead to a fun, productive testing experience.
Myron Marston, a longtime Ruby programmer, has led the development of RSpec since 2012. He works as a senior software engineer at Moz in Seattle. Myron tweets as @myronmarston.
By day, Ian Dees slings code, tests, and puns at New Relic in Portland. By night, he converts espresso into programming books, including "Cucumber Recipes". Ian tweets as@undees.
干货从第四章开始
评分干货从第四章开始
评分干货从第四章开始
评分干货从第四章开始
评分干货从第四章开始
其实rspec这个框架不是太复杂,关键是要了解BDD或者TDD概念,很多公司不注重测试编写,所以很多人刚接触tdd,bdd可能不好理解,rspec的书大部分都看了。为了学习这个框架花了很多时间,这本书相见恨晚,我英语水平一般,但是也仔细读了,如果你想学习rspec,看这本书没问题,
评分其实rspec这个框架不是太复杂,关键是要了解BDD或者TDD概念,很多公司不注重测试编写,所以很多人刚接触tdd,bdd可能不好理解,rspec的书大部分都看了。为了学习这个框架花了很多时间,这本书相见恨晚,我英语水平一般,但是也仔细读了,如果你想学习rspec,看这本书没问题,
评分其实rspec这个框架不是太复杂,关键是要了解BDD或者TDD概念,很多公司不注重测试编写,所以很多人刚接触tdd,bdd可能不好理解,rspec的书大部分都看了。为了学习这个框架花了很多时间,这本书相见恨晚,我英语水平一般,但是也仔细读了,如果你想学习rspec,看这本书没问题,
评分其实rspec这个框架不是太复杂,关键是要了解BDD或者TDD概念,很多公司不注重测试编写,所以很多人刚接触tdd,bdd可能不好理解,rspec的书大部分都看了。为了学习这个框架花了很多时间,这本书相见恨晚,我英语水平一般,但是也仔细读了,如果你想学习rspec,看这本书没问题,
评分其实rspec这个框架不是太复杂,关键是要了解BDD或者TDD概念,很多公司不注重测试编写,所以很多人刚接触tdd,bdd可能不好理解,rspec的书大部分都看了。为了学习这个框架花了很多时间,这本书相见恨晚,我英语水平一般,但是也仔细读了,如果你想学习rspec,看这本书没问题,
Effective Testing with RSpec 3 pdf epub mobi txt 电子书 下载 2024