Tired of fragile code? This free hands-on book will teach you how to build better Ruby on Rails apps with confidence. Learn practical behavior-driven development (BDD) from the makers of Semaphore (https://semaphoreci.com).
Download the ebook for free: https://semaphoreci.com/ebooks/rails-...
In Rails Testing Handbook, you’ll learn about:
* How to get in the BDD mindset and apply it in practice; * Setting up RSpec, Cucumber, database cleaner and others; * Developing features from scratch in red - green - refactor cycles; * Writing integration tests as Cucumber scenarios; * Writing controller tests using RSpec with mocking approach; * Writing model specs with RSpec; * How to collaborate via pull requests and continuous integration.
Rails Testing Handbook is packed with practical advice not found in official Rails guides. Whether you've been developing Rails apps for years or are just getting started, this book will help you advance your craft.