9781680502503

Rails 5 Test Prescriptions

Format: Paperback

ISBN13: 9781680502503

Paperback|9781680502503


Overview

Does your Rails code suffer from bloat, brittleness, or inaccuracy? Cure these problems with the regular application of test-driven development. You'll use Rails 5.1, Minitest 5, and RSpec 3.6, as well as popular testing libraries such as factory_girl and Cucumber. Updates include Rails 5.1 system tests and Webpack integration. Do what the doctor ordered to make your applications feel all better. Side effects may include better code, fewer bugs, and happier developers.

Your Ruby on Rails application is sick. Deadlines are looming, but every time you make the slightest change to the code, something else breaks. Nobody remembers what that tricky piece of code was supposed to do, and nobody can tell what it actually does. Plus, it has bugs. You need test-driven development: a process for improving the design, maintainability, and long-term viability of software.

With both practical code examples and discussion of why testing works, this book starts with the most basic features delivered as part of core Ruby on Rails. Once you've integrated those features into your coding practice, work with popular third-party testing tools such as RSpec, Jasmine, Cucumber, and factory_girl. Test the component parts of a Rails application, including the back-end model logic and the front-end display logic. With Rails examples, use testing to enable your code to respond better to future change. Plus, see how to handle real-world testing situations.

This new edition has been updated to Rails 5.1 and RSpec 3.6 and contains full coverage of new Rails features, including system tests and the Webpack-based JavaScript setup.

What You Need:

Ruby 2.4, Rails 5.1


ISBN-13

9781680502503

ISBN-10

1680502506

Weight

1.65 Pounds

Dimensions

7.50 x 0.83 x 9.25 In

List Price

$47.95

Edition

1st Edition

Format

Paperback

Language

English

Pages

406 pages

Publisher

Pragmatic Bookshelf

Published On

2018-03-13



View All Offers

Sort by:

Rows per page:

1–5 of 5

Condition
Seller
Seller Comments
Price
Used, Good
Seller details
Books From California
★★★★☆

Simi Valley, CA, USA

Very Clean Copy-Over 500, 000 Internet Orders Filled.
$8.49

 Free delivery by: 02 Apr 2026

Used, Good
Seller details
Pangea
★★★★☆

Louisville, KY, USA

Size: 7x0x9; May contain marks and or highlighting. Used items are NOT guaranteed to include compo...
$8.70

 Free delivery by: 02 Apr 2026

Used, Very Good
Seller details
HPB Inc.
★★★★☆

Dallas, TX, USA

Connecting readers with great books since 1972! Used books may not include companion materials, and ...
$17.09

 Free delivery by: 02 Apr 2026

Used, Like New
Seller details
GreatBookPrices-
★★★★☆

Columbia, MD, USA

100% Money Back Guarantee. Brand New, Perfect Condition. We offer expedited shipping to all US locat...
$46.47

 Free delivery by: 02 Apr 2026


Bookstores.com relies on cookies to improve your experience.