Home | Amazing | Today | Tags | Publishers | Years | Account | Search 
Rails 4 Test Prescriptions: Build a Healthy Codebase

Buy

Does your Rails code suffer from bloat, brittleness, or inaccuracy? Cure these problems with a regular dose of test-driven development. Rails 4 Test Prescriptions is a comprehensive guide to how tests can help you design and write better Rails applications. In this completely revised edition, you'll learn why testing works and how to test effectively using Rails 4, Minitest 5, and RSpec 3, as well as popular testing libraries such as factory_girl and Cucumber. Do what the doctor ordered to make your applications feel all better. Side effects may include better code, fewer bugs, and happier developers.

Your Ruby on Rails application is sick. Deadlines are looming, but every time you make the slightest change to the code, something else breaks. Nobody remembers what that tricky piece of code was supposed to do, and nobody can tell what it actually does. Plus, it has bugs. You need test-driven development, a process for improving the design, maintainability, and long-term viability of software.

Containing both practical code examples and discussion of why testing works, this book starts with the most basic features delivered as part of core Ruby on Rails. Once you've integrated those features into your coding practice, you'll learn how to use popular third-party testing tools such as RSpec, Mocha, Cucumber, and factory_girl. You'll test the component parts of a Rails application, including the back-end model logic and the front-end display logic. Using Rails examples, you'll learn how to use testing to enable your code to respond better to future change. Plus, you'll see how to handle real-world testing situations.

This completely revised edition contains a new tutorial, as well as new examples throughout the book. Many chapters, including the JavaScript chapter, have undergone major changes to reflect new tools and new practices. And there are brand new chapters on testing for security, and testing external services.

What You Need:Ruby 2.1, Rails 4

(HTML tags aren't allowed.)

Artificial Intelligence and Software Engineering: Understanding the Promise of the Future
Artificial Intelligence and Software Engineering: Understanding the Promise of the Future
This book is aimed at the computer-literate person who wishes to find out about the reality of exploiting
the promise of artificial intelligence in practical, maintainable software systems. It cuts through the
hype, so commonly associated with discussions of artificial intelligence, and presents the realities, both
the promise and
...
Inbound Marketing and SEO: Insights from the Moz Blog
Inbound Marketing and SEO: Insights from the Moz Blog

Learn from the leading resource on the latest inbound marketing techniques

As the SEO industry undergoes a shift and Google continues to change its algorithm, successful SEO practitioners need to increase their knowledge of a wide range of inbound marketing channels. The Moz...

Forbes Best Business Mistakes: How Today's Top Business Leaders Turned Missteps into Success
Forbes Best Business Mistakes: How Today's Top Business Leaders Turned Missteps into Success

Today's top business leaders reveal how to make even the biggest mistakes work for you

Forbes Best Business Mistakes reveals practical lessons from some of today's most successful business leaders to show you how to turn a bad business situation into a success.

Based on exclusive sit-down interviews...


World Press Encyclopedia: A Survey of Press Systems Worldwide ( TWO VOL. SET )
World Press Encyclopedia: A Survey of Press Systems Worldwide ( TWO VOL. SET )
Welcome to the second edition of the World Press Encyclopedia: A Survey of Press Systems Worldwide. In these two volumes, readers will find comparative, indepth essays on the press systems of 232 countries and/or territories. World Press Encyclopedia (WPE) is unique and valuable to users because, in addition to essays on each country’s press...
How to Cheat at Configuring VmWare ESX Server
How to Cheat at Configuring VmWare ESX Server
This book will detail the default and custom installation of VMwares ESX server as well as basic and advanced virtual machine configurations. It will then walk the reader through post installation configurations including installation and configuration of VirtualCenter. From here, readers will learn to efficiently create and deploy virtual machine...
C++ by Example: UnderC Learning Edition
C++ by Example: UnderC Learning Edition
C++ by Example includes 'UnderC,' an open-source language interpreter developed by the author, which shows the result of each new programming technique instantly, allowing novices to experiment in a more dynamic learning environment. The book starts with the fundamentals of the language, including expressions, variables, functions, and...
©2021 LearnIT (support@pdfchm.net) - Privacy Policy