Rails 5 Test Prescriptions

Build a Healthy Codebase

Nonfiction, Computers, Programming, Software Development, Programming Languages
Cover of the book Rails 5 Test Prescriptions by Noel Rappin, Pragmatic Bookshelf
View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart
Author: Noel Rappin ISBN: 9781680505573
Publisher: Pragmatic Bookshelf Publication: February 16, 2018
Imprint: Pragmatic Bookshelf Language: English
Author: Noel Rappin
ISBN: 9781680505573
Publisher: Pragmatic Bookshelf
Publication: February 16, 2018
Imprint: Pragmatic Bookshelf
Language: English

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

View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart

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

More books from Pragmatic Bookshelf

Cover of the book Seven Concurrency Models in Seven Weeks by Noel Rappin
Cover of the book Reactive Programming with RxJS 5 by Noel Rappin
Cover of the book Seven More Languages in Seven Weeks by Noel Rappin
Cover of the book Xcode Treasures by Noel Rappin
Cover of the book Modern C++ Programming with Test-Driven Development by Noel Rappin
Cover of the book Automate with Grunt by Noel Rappin
Cover of the book Hiring Geeks That Fit by Noel Rappin
Cover of the book Web Development Recipes by Noel Rappin
Cover of the book Data Science Essentials in Python by Noel Rappin
Cover of the book Adopting Elixir by Noel Rappin
Cover of the book New Programmer's Survival Manual by Noel Rappin
Cover of the book Effective Testing with RSpec 3 by Noel Rappin
Cover of the book Core Data in Objective-C by Noel Rappin
Cover of the book Exercises for Programmers by Noel Rappin
Cover of the book Learn to Program by Noel Rappin
We use our own "cookies" and third party cookies to improve services and to see statistical information. By using this website, you agree to our Privacy Policy