Rails 5 Test Prescriptions (Pragmatic Bookshelf)

PragmaticBookshelf
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.2, Minitest 5, and RSpec 3.7, as well as popular testing libraries. Updates include Rails 5.2 system tests and Webpack integration. Side effects may include better code, fewer bugs, and happier developers.

Noel Rappin @noelrappin

Edited by Katharine Dvorak @katied

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.2, Minitest 5, and RSpec 3.7, as well as popular testing libraries. Updates include Rails 5.2 system tests and Webpack integration. Side effects may include better code, fewer bugs, and happier developers.

With both practical code examples and discussion of why testing works, start with the most basic features delivered as part of core Ruby on Rails. Work with popular third-party testing tools such as RSpec, Jasmine, Cucumber, and factory_bot. Test the component parts of a Rails application, including the back-end model logic and the front-end display logic. Use testing to enable your code to respond better to future change.

This new edition has been updated to Rails 5.2 and RSpec 3.7 and contains full coverage of new Rails features.


“The essential resource for any developer testing Rails applications. It’s more than just a testing primer; developers will learn how to create optimal and efficient test suites for Rails.”

–Liz Abinante, Software Engineer, New Relic


  • Full details: Search
  • View this book’s portal and details on how to post errata and suggestions here.

Don’t forget you can get 35% off with your Devtalk discount! Just use the coupon code “devtalk.com" at checkout :+1:

2 956 0

Latest Threads About This Book Top

PragmaticBookshelf
“Finding the Boundaries” Hero’s Journey with Noel Rappin @noelrappin Even when you’re ultimately right about what the future ho...
34 3628 22
New
redjpark
Error found in zipped file. nrtest3-code.zip code/js_integration/01/app/javascript/packs/project.js 44 taskId() { 45 return thi...
1 783 0
New
PragmaticBookshelf
Does your Rails code suffer from bloat, brittleness, or inaccuracy? Cure these problems with the regular application of test-driven devel...
2 956 0
New

Most Active This Week Top

Most Active This Month Top

Most Active This Year Top

Most Active Last Three Years Top

Most Active Over Three Years Top

PragmaticBookshelf
“Finding the Boundaries” Hero’s Journey with Noel Rappin @noelrappin Even when you’re ultimately right about what the future ho...
34 3628 22
New
PragmaticBookshelf
Does your Rails code suffer from bloat, brittleness, or inaccuracy? Cure these problems with the regular application of test-driven devel...
2 956 0
New
redjpark
Error found in zipped file. nrtest3-code.zip code/js_integration/01/app/javascript/packs/project.js 44 taskId() { 45 return thi...
1 783 0
New

Get money off!

The Pragmatic Bookshelf

35% off any eBook

Simply use coupon code "devtalk.com" at checkout. See full details here.