Hands-on Test-Driven Development: Using Ruby, Ruby on Rails, and RSpec
by Greg Donald
From $48.39 / copy at 25+ copies; lower per-copy prices at higher quantities (see Volume pricing) As low as $47.29 at 100+
Format
The more copies, the less each one costs
Applied automatically in your cart. No code needed.
Turn this order into a program
Groups that order together often pair the copies with something more. We handle the extras so you don't have to.
Branded cover stickers on paperbacks from 100 copies, plus bookplates, inserts and belly bands. Your specialist confirms what fits your title.
Customization options Ship to every readerOne address, many sites or individual recipients' homes, in the US and abroad.
Fulfillment options Pair it with a branded journalJournals with your logo or each reader's name, for the same group.
Branded journalsBookPal is partnering with Talezo to help you find and book authors, speakers and performers for your event.
BookPal × TalezoHands-on Test-Driven Development
Learn to properly test Ruby and Ruby on Rails applications by first writing failing tests, and then by implementing application code to make the failing tests pass. This book will teach you how to employ test-driven development (TDD) using RSpec while building a blog from start to finish. By the end of the book, you will be ready to deploy their fully tested blog to their own production web server using the latest versions of Ruby 3 and Ruby on Rails 7.
The biggest challenge with learning and becoming comfortable with test-driven development is that software engineers often cannot imagine what writing a failing test looks like in practice. They write their implementation code first, and only then think about writing tests around their implementation code. This leads to tests that pass by accident, or tests that do not actually test anything. This book will give you the confidence to write tests in the RSpec domain-specific language. You will see your tests fail "properly" before proceeding with writing any implementation code to get them to pass.
This book covers the latest techniques for writing RSpec tests, including "system" specs, and the often overlooked "view" specs, and how to integrate RSpec with other tools like Capybara, headless Chrome, and the new web driver gem. It also covers FactoryBot for mock test data and offers experienced advice on how to avoid creating tests that fail randomly.
What You Will Learn
- Build a blog application from start to finish using test driven development
- Install and explore popular tools used in professional Ruby software engineering
- Evaluate the benefits of effective testing in RSpec
- Explore Capistrano for advanced user interface testing
Who Is This Book For
Beginner to intermediate Ruby software engineers who are interested in learning to use TDD with RSpec to test and build web applications using Ruby on Rails. Readers should have some basic experience with Ruby and Ruby on Rails and have read the "Getting Started with Rails" guide, or something similar.Details
- Publisher
- Apress
- Author
- Greg Donald
- Format
- Paperback
- Published
- Dec 13, 2023
- ISBN-13
- 9781484297476
- Pages
- 232
- Printing
- Printed on demand
Hands-on Test-Driven Development for groups: pricing
Volume pricing applies automatically in your cart. No codes, no account needed.
| Copies | Price per copy | You save |
|---|---|---|
| 25 – 49 | $48.39 | 12% off list |
| 50 – 99 | $47.84 | 13% off list |
| 100+ | $47.29 | 14% off list |
Popular for
A copy for every member, on one order.
A book for every attendee, delivered to your venue.
For clients, staff, members or volunteers.
Where can I buy 100 copies of Hands-on Test-Driven Development?
BookPal sells Hands-on Test-Driven Development in quantity. At 100 copies the price is $47.29 a copy, against a list price of $54.99, and the cart applies the volume tier automatically. Free shipping on most orders over $95 in the contiguous US. A specialist can quote a larger or mixed order.
- New books only, straight from the publisher
- Volume prices apply automatically in the cart, with no code needed
- Order at least 10 business days before you need the books (11 from mid-November through December)
What does Hands-on Test-Driven Development cost when I buy for a group?
Volume pricing applies automatically in your cart, with no code needed. Price per copy: 25 to 49 copies, $48.39 (12% off list); 50 to 99 copies, $47.84 (13% off list); 100+ copies, $47.29 (14% off list). Need a different quantity, or a quote to forward for approval? Ask a specialist and we will confirm pricing before you pay.
How fast can I get copies of Hands-on Test-Driven Development?
This title is printed on demand, so it needs production time before it ships. Need them by a specific date? Request a quote and we'll confirm timing before you pay.
Can you ship to several locations or people's homes?
Yes. We ship group orders to one address, to multiple sites, or to individual recipients, in the US and internationally. See fulfillment options.
Can I get a formal quote for approval before ordering?
Yes. Request a quote and we'll send a PDF you can forward for approval.
Do you accept purchase orders and tax-exempt orders?
Yes. We accept purchase orders upon approval, as well as cards, PayPal, ACH, wire transfers and checks. BookPal is a tax-exempt supplier in all 50 states. See purchase orders and sales tax exemption.
What if I find a lower price?
Send us the link. We match prices from other booksellers and distributors on a new copy in the same edition, available to ship in the quantity you need. Clearance sales and pricing errors are the exception, and we'll tell you quickly if that's the case. Start a price match.
Write a Review
Hands-on Test-Driven Development: Using Ruby, Ruby on Rails, and RSpec
Groups also order




A colleague asked you to approve this order
Your quote list
Add books as you browse, then request one quote for all of them.