Donald, Greg
Hands-On Test-Driven Development: Using Ruby, Ruby on Rails, and Rspec
- ISBN 13:
- 9781484297476
- author:
- Donald, Greg
- format:
- Paperback
- publisher:
- Apress
- language:
- English
- Publication Year:
- 2023
- Pages:
- 232
- Dimensions:
- 25.4 x 17.8 x 1.3 centimetres (0
- Genre:
- Computers, Programming, General,
- Condition:
- New
- Availability:
- Item usually sent within 20 working days
Description
Mastering test-driven development with Ruby and Ruby on Rails is within reach. This comprehensive guide takes you through the process by first writing failing tests, then implementing application code to make them pass.
You'll learn how to write effective RSpec tests using the latest techniques, including "system" specs and "view" specs, as well as integrating with tools like Capybara and FactoryBot for mock test data. By the end of this book, you'll be confident in your ability to write reliable tests that ensure your Ruby on Rails applications are thoroughly tested.
With a focus on practical advice and hands-on examples, this book covers everything needed to deploy fully tested blogs to production web servers using Ruby 3 and Ruby on Rails 7. Get the skills you need to improve your software development workflow with test-driven development.