Setting Up Automated Testing with RSpec

preview_player
Показать описание
Automated testing is really widespread these days and of course Ruby has its own set of tools. One of these is RSpec, an insanely popular tool for automated testing. The good thing about it is we can test nearly every aspect of the app with ease. If you don’t set up automated testing, you’ll end up having to manually re-test all the features of your app every time you refactor the code or add something new. For large apps this becomes really tedious!

In this screencast series we are going to have a look at using RSpec and supporting libraries like Capybara and FactoryGirl with Rails. You’ll even get to write your first spec!
Рекомендации по теме
Комментарии
Автор

Excellent video that answered questions I hadn't yet thought about.

DLNorG
Автор

hi! good training video. thanks.

but i want to ask.. i installed capybara 2.2.0, because it didnt work with 2.2.1 .. but another problem came after : 'undefined local variable or method 'config' for main'

and this how i implemented it in rails_helper.rb:
require 'rspec/rails'
require 'database_cleaner'
require 'capybara/rails'

pauldumanig
Автор

I like your video! But could you check/proofread your captioning? Thanks!!!

LaurelMaury
Автор

Шикарное видео как начинать тестить приложение. Жаль нет титров на русском, приходилось отматывать и прослушивать некоторые моменты, дважды.

itforceit