Fast Feedback Using Ruby
Fast Feedback Using Ruby
$11.00
Minimum price
$15.00
Suggested price
Fast Feedback Using Ruby

Last updated on 2016-03-05

About the Book

The book describes various ways of getting feedback — and fast feedback — using Ruby tools, such as plain Ruby scripts and Rake tasks. It also shows a way to automatically execute these tools.

About the Author

Stephan
Stephan

I test & write software, studied physics. I like the ocean, mountain hiking & art.

Languages (in alphabetical order): English, German, Ruby

Table of Contents

  • Acknowledgements
  • Preface
    • Who is this book for?
    • Assumptions
    • Icons used in the book
    • Setup & Environment
    • Using Filefiles
  • 1. Introduction
  • 2. First experiments
    • 2.1 A task to solve
    • 2.2 A general setup for projects
    • 2.3 The first HTML generator
  • 3. Rake
    • 3.1 An overview
    • 3.2 The simple text transformation as a Rake task
  • 4. Guard
    • 4.1 Guard installation
    • 4.2 Running Guard – having a Guardfile & a plug-in
    • 4.3 Example Guard usage
  • 5. Combining Rake and Guard
    • 5.1 The directory task
    • 5.2 Rake’s FileList
    • 5.3 A task dependency
    • 5.4 A rule to describe how to generate the HTML files
  • 6. Rake details
    • 6.1 How Rake finds the Rakefile in a directory hierarchy
    • 6.2 Name spaces
    • 6.3 Task Names
    • 6.4 Task bodies and code blocks
    • 6.5 Task dependencies
    • 6.6 Task parameters
    • 6.7 Rake troubles
  • 7. Guard details
    • 7.1 The Guardfile DSL
    • 7.2 A selection of plug-ins
  • 8. Testing Rake tasks – overview
    • 8.1 You don’t test them
    • 8.2 Non-Automated Testing
    • 8.3 Cucumber
    • 8.4 MiniTest or RSpec + Refactored Rake Tasks
    • 8.5 ‘Redefine’ Rake Methods
    • 8.6 Some General Remarks
  • 9. Testing Rake tasks
    • 9.1 Legacy Rake tasks
  • Epilogue

The Leanpub 45-day 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms

Free Updates. Free App. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets), MOBI (for Kindle) and in the free Leanpub App (for Mac, Windows, iOS and Android). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

Authors, publishers and universities use Leanpub to publish amazing in-progress and completed books and courses, just like this one. You can use Leanpub to write, publish and sell your book or course as well! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub