CG数据库 >> Lynda – RSpec Testing Framework with Ruby

Lynda – RSpec Testing Framework with Ruby的图片1

Lynda - RSpec Testing Framework with Ruby

750MB | Duration: 6h 14m | Video: AVC (.mp4) 1280x800 15&30fps | Audio: AAC 48KHz 2ch

Genre: eLearning | Level: Intermediate | Language: English

Learn how to use RSpec, the Ruby testing framework that can help developers be more productive, write better code, and reduce bugs during development. Kevin Skoglund explains the basic syntax of RSpec and then dives straight into writing and running test examples. He shows how to use a variety of matchers to test for expected conditions, provides techniques for testing efficiently, and demonstrates how test doubles can stand in for objects and methods. He also explains the additional RSpec features available for Ruby on Rails, and walks through a step-by-step example of test-driven development.

Topics include:

* Installing and configuring RSpec

* Writing and running examples

* Defining expectations using matchers

* Using helper methods, before/after hooks, and shared examples

* Creating test doubles using mocks and stubs

* Testing Ruby on Rails with RSpec

* Putting test-driven development into practice

Lynda – RSpec Testing Framework with Ruby的图片2

发布日期: 2015-02-05