June 29, 2011

Feedback. We’re always telling you that you need feedback, with a short feedback gap—the time it takes to get feedback on your decisions, your code, your designs. Well, what if you narrowed the feedback gap to near zero while coding? You’d have continuous testing, a powerful idea that lets you fix bugs while they’re still small and fresh. Now in print and shipping from pragprog.com/titles/rcctr.

And be sure to check out this video from Lukas Mathis, on the importance of user interfaces:

Continuous Testing with Ruby, Rails, and JavaScript

Continuous Testing shows you how to use a combination of tests, tools, and techniques to immediately detect problems in code, before they spread.

Not minutes, hours or days from now, but right now, when it’s easiest to fix. Spend more of your time writing valuable software, and less time slogging through code line-by-line and second-guessing your decisions.

We’ll show you how to set up and run automated tests that check your work continuously as you write code. You’ll start with tools such as Autotest and Watchr, and see how to use them effectively in a continuous environment. You’ll discover the fundamentals of creating and maintaining a test suite that’s Fast, Informative, Reliable, and Exhaustive. You’ll use powerful techniques such as inline assertions—a much better alternative to debugging or console printing. You’ll even use Ruby’s metaprogramming features to quickly find and diagnose problems using existing tests.

You’ll start with examples in Ruby, Rails, and JavaScript, but you’ll learn general techniques you can apply to a wide range of languages and frameworks. You’ll be able to create feedback loops that validate decisions made outside of your code: you can automatically verify Rails migrations, instantly check changes to stylesheets and views, and quickly validate documentation, seed data, and other essential configuration and settings.

Continuous Testing shows how you can improve the quality of your existing tests and ensure the new tests that you write will do the job. By giving you instant feedback about the quality of your code and the quality of your tests, continuous testing creates a visceral feedback loop that you can actually feel as you work.

Get this book and start doing Continuous Testing with Ruby, Rails, and JavaScript today.

Check out samples and the table of contents:

Now in print and shipping from pragprog.com/titles/rcctr.

Don’t Get Left Out

Are your friends jealous that you get these spiffy email newsletters and they don’t? Clue them in that all they need to do is create an account on pragprog.com (email address and password is all it takes) and select the checkbox to receive newsletters.

Are you following us on Twitter and/or Facebook? Here’s where you can find us and keep up with the latest news and commentary:

Coming Soon:

  • iOS Recipes: Tips and Tricks for Awesome iPhone and iPad Apps in print
  • CoffeeScript: Accelerated JavaScript Development in print
  • Programming Concurrency on the JVM: Mastering Synchronization, STM, and Actors in print

Recently Released:

  • Designed for Use: Create Usable Interfaces for Applications and the Web [in print]
  • Exceptional Ruby: Master the Art of Handling Failure in Ruby [in print]
  • CoffeeScript: Accelerated JavaScript Development [in beta]
  • Code in the Cloud: Programming Google AppEngine [in print]
  • Thanks for your continued support,

    Andy & Dave

    Books • eBooks • Screencasts • PragPub Magazine
    PragProg.com