Home | Amazing | Today | Tags | Publishers | Years | Account | Search 
Instant RSpec Test - Driven Development How-to

Buy

Learn RSpec and redefine your approach towards software development

Overview

  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results
  • Learn how to use RSpec with Rails
  • Easy to read and grok examples
  • Write idiomatic specifications

In Detail

RSpec is a behaviour driven development framework for Ruby programmers. It comes integrated with its own mocking framework based on Jmock. This book introduces you to RSpec helping you to write idiomatic specifications for Ruby code in a test first approach.

Instant RSpec Test-Driven Development How-to is filled with examples of actual code accompanied by explanations and covers general Ruby, Rails, and RSpec use cases plus a few of the more advanced topics. RSpec Test Driven Development is written on the premise that you will need no experience with RSpec and limited experience with Ruby, Rails, and TDD fundamentals. You’ll begin by writing a very simple Ruby library in true TDD fashion and and use the red, green, refactor tools to migrate this library into a Rails application.

Instant RSpec Test-Driven Development How-to will teach you the actual steps performed in writing an idiomatic specification. You will be able to write a test for the code you wish you had, and learn to write only the minimum code necessary to pass a test, and write more specifications to drive out the production functionality your application will need. Through the course of the book, you will convert a Ruby program into a new Rails application, test Rails specifics such as file uploads, cookies, and model validation and even learn how to use Capybara. RSpec Test Driven Development will help you build confidence in the code they you write and spend less time dealing with bugs and maintenance headaches.

What you will learn from this book

  • RSpec fundamentals
  • How to use RSpec and Rails together
  • Modify your behavior to create tests first and run your specs with every code change
  • How to work with the rspec command line tool
  • Using mocks and stubs to decouple tests from the database
  • How to refactor code to improve readability

Approach

Filled with practical, step-by-step instructions and clear explanations for the most important and useful tasks. A concise guide that delivers immediate results with practical recipes on learning practical hints.

Who this book is written for

This book is aimed at Ruby developers with beginner level expertise who want to use RSpec and test driven development methodology to improve the code they write. Experienced programmers new to Ruby will also benefit from this book which also covers creating testable, idiomatic Ruby code.

(HTML tags aren't allowed.)

The Technology of Video and Audio Streaming, Second Edition
The Technology of Video and Audio Streaming, Second Edition
"As one of the reviewers pointed out, this book is a "much-needed introduction to the breadth and depth of streaming media." I agree. For broadcasters and web developers involved in media delivery across the web, the book could be a very useful first step in understanding the basics of streaming technologies."
European
...
Paul Mijksenaar - Visual Foundation: an Introduction to Information Design
Paul Mijksenaar - Visual Foundation: an Introduction to Information Design
Matches are tricky to use in a car and a pocket lighter dangerous. Car manufacturers have consequently come up with a special car lighter. But in the film 'Mon Oncle' the driver hands this gadget to his passenger (played by Jacques Tati as Monsieur Hulot) as if it were a match. The designer had not foreseen that Monsieur...
Data Structures and Algorithms with Object-Oriented Design Patterns in C++
Data Structures and Algorithms with Object-Oriented Design Patterns in C++
Learn the latest object-oriented design patterns needed to create sound software designs Author Bruno Preiss presents the fundamentals of data structures and algorithms from a modern, object-oriented perspective. The text promotes object-oriented design using C++ and illustrates the use of the latest object-oriented design patterns. Virtually all...

Acquired Long QT Syndrome
Acquired Long QT Syndrome

In recent years there has been considerable interest in the diagnosis and understanding of ventricular repolarisation, particularly the QT interval prolongation and abnormal T and T/U wave morphology associated with torsades de pointes. Advances in ion channel cloning have greatly improved our understanding of the role of ionic channels in...

Windows Server 2003 Security Infrastructures : Core Security Features (HP Technologies)
Windows Server 2003 Security Infrastructures : Core Security Features (HP Technologies)

Windows Server 2003 Security Infrastructures is a must for anyone that wants to know the nuts and bolts of Windows Server 2003 security and wants to leverage the operating system’s security infrastructure. The primary goal of this book is to provide insights into the security features and technologies of the Windows Server 2003...

Super Scratch Programming Adventure!: Learn to Program By Making Cool Games
Super Scratch Programming Adventure!: Learn to Program By Making Cool Games

Scratch is the wildly popular educational programming language used by millions of first-time learners in classrooms, libraries, and homes worldwide. By dragging together colorful blocks of code, kids quickly learn computer programming concepts and make cool games and animations.

In Super Scratch Programming...

©2018 LearnIT (support@pdfchm.net) - Privacy Policy