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.
Die Inhaltsangabe kann sich auf eine andere Ausgabe dieses Titels beziehen.
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.
„Über diesen Titel“ kann sich auf eine andere Ausgabe dieses Titels beziehen.
Anbieter: ThriftBooks-Dallas, Dallas, TX, USA
Paperback. Zustand: Very Good. No Jacket. May have limited writing in cover pages. Pages are unmarked. ~ ThriftBooks: Read More, Spend Less. Bestandsnummer des Verkäufers G1934356646I4N00
Anzahl: 1 verfügbar
Anbieter: WeBuyBooks, Rossendale, LANCS, Vereinigtes Königreich
paperback. Zustand: Like New. Most items will be dispatched the same or the next working day. An apparently unread copy in perfect condition. Dust cover is intact with no nicks or tears. Spine has no signs of creasing. Pages are clean and not marred by notes or folds of any kind. Bestandsnummer des Verkäufers rev5097976175
Anzahl: 1 verfügbar
Anbieter: Bookbot, Prague, Tschechien
Softcover. Zustand: Fine. Leichte Gebrauchsspuren; Leichte Verschmutzung / Farbtonveranderung. This comprehensive guide to testing Rails applications delves into Test-Driven Development (TDD) from both theoretical and practical perspectives. It addresses core Rails testing tools and procedures for Rails 2 and 3, while also introducing popular add-ons like Cucumber, Shoulda, Machinist, Mocha, and Rcov. If your Ruby on Rails application is plagued by bugs and unclear code, TDD can help. This proven process emphasizes writing tests first, leading to improved design, maintainability, and faster development of better code. Rails offers exceptional support for TDD, complemented by a vibrant community that continually develops new testing tools. The guide features practical code examples alongside discussions on the efficacy of testing. It begins with the essential features of core Ruby on Rails and progresses to third-party testing tools such as RSpec, Shoulda, Cucumber, Factory Girl, and Rcov, explaining their usage and appropriate contexts. Covering both Rails 2.3.x and the initial 3.0 release, this resource is invaluable for Rails programmers who test their code. For those who don't yet test, it serves as a crucial starting point to integrate testing into their development practices. Bestandsnummer des Verkäufers e9e2400e-3351-4e02-87ec-74c90fe69b67
Anzahl: 1 verfügbar
Anbieter: The Book Corner, Beaverton, OR, USA
paperback. Zustand: New. Brand new. In Oringinal Shrink Wrap. Ships from Friends bookstore to benefit Beaverton (Oregon) library. Bestandsnummer des Verkäufers mon0000061608
Anzahl: 1 verfügbar