|
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.
|
|
|
Defective Construction WorkDefective construction work, whether the result of inadequate design, faulty workmanship or poor materials – or some combination of these failings – is a frequent cause of legal disputes. Someone is usually to blame, either the builder or one or more of the professional consultants, or even the entire project team. It is important... | | Official (ISC)2 Guide to the CSSLP CBK, Second Edition ((ISC)2 Press)
The text allows readers to learn about software security from a renowned security practitioner who is the appointed software assurance advisor for (ISC)2. Complete with numerous illustrations, it makes complex security concepts easy to understand and implement. In addition to being a valuable resource for those studying for the CSSLP... | | The Facts on File Calculus Handbook (The Facts on File Science Handbooks)Over the past 25 years or so, the typical college calculus textbook has grown from a modest 350-page book to a huge volume of some 1,200 pages, with thousands of exercises, special topics, interviews with career mathematicians, 10 or more appendixes, and much, much more. But as the old adage goes, more is not always better. The enormous size and... |
|