Continuous Testing

Now you can immediately detect problems in code—before it’s too late, and before problems spread. It isn’t magic, but a clever combination of tests, tools, and techniques that tells you right away when there’s a problem. 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. See how Continuous Testing can improve the quality of your existing tests and ensure that the new tests you write will do the job.

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.

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.

Table of Contents
Chapter 1. Why Test Continuously?

Part I: Ruby and Autotest
Chapter 2. Creating Your Environment
Chapter 3. Extending Your Environment
Chapter 4. Interacting with Your Code

Part II: Rails, JavaScript, and Watchr
Chapter 5. Testing Rails Apps Continuously
Chapter 6. Creating a JavaScript CT Environment
Chapter 7. Writing Effective JavaScript Tests

Part III: Appendices
Appendix 1. Making the Case for Functional JavaScript
Appendix 2. Gem Listing
Appendix 3. Bibliography

Book Details

  • Paperback: 160 pages
  • Publisher: Pragmatic Bookshelf (June 2011)
  • Language: English
  • ISBN-10: 1934356700
  • ISBN-13: 978-1934356708
Download [7.6 MiB]

You may also like...

Leave a Reply