前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >Effective Testing with RSpec 3 (英文版)(序言)

Effective Testing with RSpec 3 (英文版)(序言)

作者头像
不知雨
修改2018-09-06 21:56:31
1.1K0
修改2018-09-06 21:56:31
举报

Early praise for Effective Testing with RSpec 3

Ruby embraces the old Lisp idea that you should “build up a language” to address your problem, and RSpec carries this approach into the world of testing. But RSpec is a big toolbox, and in order to harness its full power you need a guide. This is that guide: the bridge you need to take you from writing tests, to expressing your design requirements in code.

➤ Avdi Grimm Author of Confident Ruby and Exceptional Ruby and Head Chef, RubyTapas

Effective Testing with RSpec 3 does a great job of explaining both the main features of RSpec as well as its lesser known, powerful, and often overlooked features. It’s an essential resource for Rubyists looking to learn RSpec, or for those who use it every day. I’ve already started using it regularly as a resource.

➤ Noel Rappin Author of Rails 4 Test Prescriptions and Director of Development, Table XI

Myron and Ian have written the essential “missing” manual for modern RSpec, connecting all the latest best practices for TDD and BDD. If you were having trouble mastering modern testing with RSpec, this book will sort you out.

➤ Sam Joseph Co-instructor on the BerkeleyX Agile Development using Ruby on Rails MOOC and co-founder, AgileVentures Charity

Myron has been the driving force behind RSpec development for years. He is an expert on testing practices and getting the most out of the RSpec suite. His care and attention to detail are impeccable, and it shows in both the codebase and this book.

➤ Xavier Shay RSpec core team member and Payments Engineering Lead, Square

Having worked with Myron for many years on the RSpec core team, I’m very pleased to see Effective Testing with RSpec 3. This book contains everything you need to learn not only how RSpec works, but how to test effectively with the framework. If you’re working with RSpec on a daily basis and looking to get better at working with the framework, I could not recommend this book more heartily. ➤ Sam Phippen

RSpec core team member and engineer, Digital Ocean

The exercises are illustrative and challenging. The final chapter on test doubles really synthesizes the best way to use these tools. You’ll write far more readable and robust specs after reading this book, especially when interfacing with the shifting sands of third-party APIs.

➤ Nigel Lowry Company Director and Principal Consultant, Lemmata

Effective Testing with RSpec 3 is well worth a read: it is much more than a technical reference and will make you a better developer by teaching you how to write more expressive, robust, and maintainable tests.

➤ Alessandro Bahgat Professional software developer

Effective Testing with RSpec 3 Build Ruby Apps with Confidence

Myron Marston Ian Dees

The Pragmatic Bookshelf

Raleigh, North Carolina

Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and The Pragmatic Programmers, LLC was aware of a trademark claim, the designations have been printed in initial capital letters or in all capitals. The Pragmatic Starter Kit, The Pragmatic Programmer, Pragmatic Programming, Pragmatic Bookshelf, PragProg and the linking g device are trade- marks of The Pragmatic Programmers, LLC.

Every precaution was taken in the preparation of this book. However, the publisher assumes no responsibility for errors or omissions, or for damages that may result from the use of information (including program listings) contained herein.

Our Pragmatic books, screencasts, and audio books can help you and your team create better software and have more fun. Visit us at https://pragprog.com.

The team that produced this book includes:

Publisher: Andy Hunt VP of Operations: Janet Furlow Executive Editor: Susannah Davidson Pfalzer Development Editor: Jacquelyn Carter Indexing: Potomac Indexing, LLC Copy Editor: Liz Welch Layout: Gilson Graphics

For sales, volume licensing, and support, please contact support@pragprog.com. For international rights, please contact rights@pragprog.com.

Copyright © 2017 The Pragmatic Programmers, LLC. All rights reserved.

No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior consent of the publisher.

Printed in the United States of America. ISBN-13: 978-1-68050-198-8 Encoded using the finest acid-free high-entropy binary digits. Book version: P1.0—August 2017

本文系转载,如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文系转载,如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档