Skip to main content
Apress
Book cover

Test Driven Development in Ruby

A Practical Introduction to TDD Using Problem and Solution Domain Analysis

  • Book
  • © 2017

Overview

  • A unique book on test driven development (TDD) using Ruby

  • Learn the fundamentals of TDD in less than 10 hours

  • Written by an expert software professional and trainer

This is a preview of subscription content, log in via an institution to check access.

Access this book

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

Licence this eBook for your library

Institutional subscriptions

Table of contents (9 chapters)

Keywords

About this book

Learn the basics of test driven development (TDD) using Ruby. You will carry out problem domain analysis, solution domain analysis, designing test cases, and writing tests first. These fundamental concepts will give you a solid TDD foundation to build upon. Test Driven Development in Ruby is written by a developer for developers.


The concepts are first explained, then a coding demo illustrates how to apply the theory in practice. At the end of each chapter an exercise is given to reinforce the material. Complete with working files and code samples, you'll be able to work alongside the author, a trainer, by following the material in this book.




What You Will Learn


  • Carry out problem domain analysis, solution domain analysis, designing test cases, and writing tests first
  • Use assertions
  • Discover the structure of a test and the TDD cycle
  • Gain an understanding of minimal implementation, starter test, story test, and next test
  • Handle refactoring using Ruby
  • Hide implementation details
  • Test precisely and concretely
  • Make your code robust 



Who This Book Is For


Experienced Ruby programmers or web developers with some prior experience with Ruby.

Authors and Affiliations

  • Atlanta, USA

    Bala Paranj

About the author

Bala Paranj has a masters degree in electrical engineering from Wichita State University. He has been working in the IT industry since 1996. He started his career as Technical Support Engineer and became a Web Developer using Perl, Java and Ruby. He has consulted for companies in the USA, Australia and Jamaica in finance, telecommunications and other domains.


He has professionally worked as a developer using TDD and pair programming for startups. He is the founder of Silicon Valley Ruby Meetup. He has been organizing Ruby, Rails and TDD related events since 2007. He has taught TDD Bootcamps and TDD tutorials for Silicon Valley Ruby Meetup members for more than 3 years. 


He published an article in JavaWorld in 1999 on the Command Pattern. Java Tip 68: Learn how to implement the Command pattern in Java. He is also the content creator for the Whizlabs OOAD test simulator. This is the exam simulator for students preparing for IBM 486 Object-Oriented Analysis and Design with UML. He is the author of self-published book Rails 4 Quickly.

Bibliographic Information

Publish with us