Watch: RSpec — The Set Up

来源:互联网 时间:1970-01-01

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!

More from this author Straightforward Rails Authorization with Pundit Super Easy Activity Feeds with Stream

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!

Loading the player…

Tags:Instructional video, RSpec , Sitepoint Premium

Ilya Bodrov-Krukowski

Ilya Bodrov is a senior engineer working at Campaigner LLC, teaching assistant at Learnable and lecturer at Russian State Technological University (Internet Technology department). His primary programming languages are Ruby (with Rails) and JavaScript (AngularJS). He enjoys coding, teaching people and learning new things. Ilya also has some Cisco and Microsoft certificates and was working as a tutor in an educational center for a couple of years. In his free time he writes posts for his website , participates in OpenSource projects, goes in for sports and plays music.