"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.
What You Need:
To follow along with the book, you'll need Ruby 2.2+. The book will guide you through installing RSpec 3 and setting up a new project to use it.
"Sinopsis" puede pertenecer a otra edición de este libro.
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. By day, Ian Dees slings code, tests, and puns at a Portland-area test equipment manufacturer. By night, he converts espresso into programming books, including "Cucumber Recipes"
"Sobre este título" puede pertenecer a otra edición de este libro.
EUR 8,72 gastos de envío desde Reino Unido a España
Destinos, gastos y plazos de envíoEUR 4,66 gastos de envío desde Reino Unido a España
Destinos, gastos y plazos de envíoLibrería: WeBuyBooks, Rossendale, LANCS, Reino Unido
Condición: Very Good. Most items will be dispatched the same or the next working day. A copy that has been read, but is in excellent condition. Pages are intact and not marred by notes or highlighting. The spine remains undamaged. Nº de ref. del artículo: wbs7261076718
Cantidad disponible: 1 disponibles
Librería: MusicMagpie, Stockport, Reino Unido
Condición: Very Good. 1745708013. 4/26/2025 10:53:33 PM. Nº de ref. del artículo: U9781680501988
Cantidad disponible: 1 disponibles
Librería: ThriftBooks-Dallas, Dallas, TX, Estados Unidos de America
Paperback. Condición: Good. No Jacket. Former library book; Pages can have notes/highlighting. Spine may show signs of wear. ~ ThriftBooks: Read More, Spend Less 1.44. Nº de ref. del artículo: G1680501984I3N10
Cantidad disponible: 1 disponibles
Librería: WorldofBooks, Goring-By-Sea, WS, Reino Unido
Paperback. Condición: Very Good. The book has been read, but is in excellent condition. Pages are intact and not marred by notes or highlighting. The spine remains undamaged. Nº de ref. del artículo: GOR009158010
Cantidad disponible: 2 disponibles
Librería: Bahamut Media, Reading, Reino Unido
Condición: Very Good. Shipped within 24 hours from our UK warehouse. Clean, undamaged book with no damage to pages and minimal wear to the cover. Spine still tight, in very good condition. Remember if you are not happy, you are covered by our 100% money back guarantee. Nº de ref. del artículo: 6545-9781680501988
Cantidad disponible: 2 disponibles
Librería: AwesomeBooks, Wallingford, Reino Unido
Condición: Very Good. This book is in very good condition and will be shipped within 24 hours of ordering. The cover may have some limited signs of wear but the pages are clean, intact and the spine remains undamaged. This book has clearly been well maintained and looked after thus far. Money back guarantee if you are not satisfied. See all our books here, order more than 1 book and get discounted shipping. . Nº de ref. del artículo: 7719-9781680501988
Cantidad disponible: 2 disponibles
Librería: LiLi - La Liberté des Livres, CANEJAN, Francia
Condición: fine. vendeur pro, expedition soignee en 24/48h.Le livre peut montrer des signes d'usure dus à son utilisation, des défauts esthétiques tels que des rayures, des bosses et/ou des coins legerement endommages. Nº de ref. del artículo: 3104230032828
Cantidad disponible: 1 disponibles
Librería: Ria Christie Collections, Uxbridge, Reino Unido
Condición: New. In. Nº de ref. del artículo: ria9781680501988_new
Cantidad disponible: Más de 20 disponibles
Librería: THE SAINT BOOKSTORE, Southport, Reino Unido
Paperback. Condición: New. New copy - Usually dispatched within 4 working days. 677. Nº de ref. del artículo: B9781680501988
Cantidad disponible: 12 disponibles
Librería: SecondSale, Montgomery, IL, Estados Unidos de America
Condición: Good. Item in good condition. Textbooks may not include supplemental items i.e. CDs, access codes etc. Nº de ref. del artículo: 00079310976
Cantidad disponible: 6 disponibles