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.
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
Chapter 5. Testing Rails Apps Continuously
Part III: Appendices
Appendix 2. Gem Listing
Appendix 3. Bibliography
- Paperback: 160 pages
- Publisher: Pragmatic Bookshelf (June 2011)
- Language: English
- ISBN-10: 1934356700
- ISBN-13: 978-1934356708