使用 RSpec 测试 Rails 程序
使用 RSpec 测试 Rails 程序
$5.00
Minimum
$7.00
Suggested
使用 RSpec 测试 Rails 程序

This book is 100% complete

Completed on 2014-10-04

About the Book

最新版涵盖 Rails 4.0,Capybara 2.1,Factory Girl 4.2 和 RSpec 2.14!

你是否开发过一两个 Rails 应用程序,但是却没有编写可靠的测试?你是否只在浏览器中到处点击,就认为测试完成了?亦或者,什么都不做,十指交叉席地祷告程序可以正常运行?

上面的情况所有人都经历过。虽然测试和测试驱动开发在 Rails 开发中是很重要的理念,但很多教程只是一笔带过。在《使用 RSpec 测试 Rails 程序》一书中,我会告诉你我是怎样跨过层层障碍,提升代码的可靠度,避免在浏览器中到处点击,最终节省了大量时间的。

使用 RSpec 测试 Rails 程序》一书中有六章的内容来自 Everyday Rails 博客,还有六章内容完整地开发了一个简单但测试完整地 Rails 应用程序。我保证书中的内容和代码都能在 Rails 4.0 中顺畅运行,不需要做其他额外的工作。

如果 Paypal 或者信用卡支付不便,可以到 SelfStore 使用支付宝付款购买:https://selfstore.io/products/3

This book is a translation into Chinese of Everyday Rails Testing with RSpec which was originally written in English.

About the Authors

Aaron Sumner
Aaron Sumner

Hi, I'm Aaron Sumner. I've been developing for the web since 1994, moving from static HTML to Applescript(!) to Perl to PHP and now to Ruby on Rails. In my blog, Everyday Rails, I show how I leverage tools from the Ruby ecosystem to be a productive developer, even when time and other resources are tight.

Andor Chen
Andor Chen

Andor 是一位父亲、丈夫,也是一名机械工程师。翻译爱好者,已出版几本电子书。偶尔写些代码。关于我的更多信息,请访问我的个人网站

The Leanpub Unconditional, No Risk, 100% Happiness Guarantee

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

Write and Publish on Leanpub

Authors and publishers use Leanpub to publish amazing in-progress and completed ebooks, just like this one. You can use Leanpub to write, publish and sell your book 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