Rails Test Prescriptions (Pragmatic Programmers)

3.67 avg rating
( 46 ratings by Goodreads )
 
9781934356647: Rails Test Prescriptions (Pragmatic Programmers)
View all copies of this ISBN edition:
 
 

Rails Test Prescriptions is a comprehensive guide to testing Rails applications, covering Test-Driven Development from both a theoretical perspective (why to test) and from a practical perspective (how to test effectively). It covers the core Rails testing tools and procedures for Rails 2 and Rails 3, and introduces popular add-ons, including Cucumber, Shoulda, Machinist, Mocha, and Rcov.

Your Ruby on Rails application is sick. It's got bugs. Nobody remembers what that tricky piece of code was supposed to do, and nobody can tell what it actually does. Deadlines are looming, but every time you make the slightest change to the code, something else breaks.

You need Test-Driven Development (TDD), a proven process for improving the design, maintainability, and long-term viability of software. In TDD, the tests come first, and then code is written to match the expectation of the test. Using TDD means writing better code faster.

Ruby on Rails has unparalleled support for TDD. In addition to the tools that Rails has built-in, a large and thriving testing community adds new tools at an accelerating rate. Rails Test Prescriptions is your guide to the entire Rails testing ecosystem.

Containing 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, you'll want to use popular third-party testing tools such as RSpec, Shoulda, Cucumber, Factory Girl, and Rcov. Rails Test Prescriptions will show you how to use these tools and when they are appropriate. Rails Test Prescriptions will cover both the current Rails 2.3.x version as well as the initial 3.0 release.

If you are a Rails programmer who tests code, this book is an invaluable guide to the latest in available testing tools. If you are a Rails programmer who doesn't test code, then start testing immediately: this book can help.

"synopsis" may belong to another edition of this title.

About the Author:

Noel Rappin is a Senior Consultant at Obtiva. A Rails developer for five years, Noel has spoken at RailsConf and Windy City Rails, and is the author of Professional Ruby on Rails from Wrox Press. A blog relating to this book can be found at http://www.railsrx.com.

"About this title" may belong to another edition of this title.

Top Search Results from the AbeBooks Marketplace

1.

Noel Rappin
Published by Pragmatic Bookshelf (2011)
ISBN 10: 1934356646 ISBN 13: 9781934356647
New Paperback Quantity Available: 1
Seller:
Ergodebooks
(RICHMOND, TX, U.S.A.)
Rating
[?]

Book Description Pragmatic Bookshelf, 2011. Paperback. Condition: New. 1. Seller Inventory # DADAX1934356646

More information about this seller | Contact this seller

Buy New
US$ 15.41
Convert Currency

Add to Basket

Shipping: US$ 4.99
Within U.S.A.
Destination, Rates & Speeds

2.

Noel Rappin
Published by Pragmatic Bookshelf (2011)
ISBN 10: 1934356646 ISBN 13: 9781934356647
New Paperback Quantity Available: 2
Seller:
Murray Media
(North Miami Beach, FL, U.S.A.)
Rating
[?]

Book Description Pragmatic Bookshelf, 2011. Paperback. Condition: New. Never used!. Seller Inventory # P111934356646

More information about this seller | Contact this seller

Buy New
US$ 36.60
Convert Currency

Add to Basket

Shipping: US$ 1.99
Within U.S.A.
Destination, Rates & Speeds

3.

Noel Rappin
Published by Pragmatic Bookshelf (2010)
ISBN 10: 1934356646 ISBN 13: 9781934356647
New Paperback Quantity Available: 1
Seller:
Revaluation Books
(Exeter, United Kingdom)
Rating
[?]

Book Description Pragmatic Bookshelf, 2010. Paperback. Condition: Brand New. 1st edition. 350 pages. 8.90x7.40x0.80 inches. In Stock. Seller Inventory # __1934356646

More information about this seller | Contact this seller

Buy New
US$ 47.06
Convert Currency

Add to Basket

Shipping: US$ 8.35
From United Kingdom to U.S.A.
Destination, Rates & Speeds

4.

Rappin, Noel
Published by Pragmatic Bookshelf
ISBN 10: 1934356646 ISBN 13: 9781934356647
New PAPERBACK Quantity Available: 1
Seller:
Cloud 9 Books
(Wellington, FL, U.S.A.)
Rating
[?]

Book Description Pragmatic Bookshelf. PAPERBACK. Condition: New. 1934356646 New Condition. Seller Inventory # NEW7.1754752

More information about this seller | Contact this seller

Buy New
US$ 59.99
Convert Currency

Add to Basket

Shipping: US$ 4.99
Within U.S.A.
Destination, Rates & Speeds