CG数据库 >> Testing Ruby with RSpec: The Complete Guide

MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz, 2 ChGenre: eLearning | Language: English + .VTT | Duration: 7.5 hours | Size: 3.13 GBMaster the art of test-driven development in Ruby using the popular RSpec Gem. No previous testing experience needed!What you'll learnUtilize test-driven development principles to design and implement clean test specs in RubyMaster the syntax and structure of RSpec, the most popular Ruby Gem for testingReduce dependencies in your test suite by mocking objects with class and instance doublesExplore the wide collection of RSpec matchers available to test your codeRequirementsIntermediate knowledge of the Ruby programming language (classes, objects, data structures, etc)Modern version of Ruby (>2.4)Text editor (VSCode is recommended)DescriptionWelcome to Testing Ruby with RSpec: The Complete Guide!This course offers a comprehensive overview of the RSpec testing library for the Ruby programming library.

RSpec is the most popular Ruby Gem of all time, with over 300 million downloads to date.

If you're new to the topic, testing is the practice of "writing code that confirms that other code works as expected".

Tests control for regressions, which are changes to the code that break the program.

The benefits of testing extend outside of the codebase.

Adopting a test-driven approach will also make you a better developer.

Tests force you to think critically about the program and its features: the classes, the objects, the methods and more.

Testing Ruby with RSpec begins with the essentials and proceeds to more complex topics including:InstallationProject InitializationTest-Driven Development (TDD)let variablesbefore and after HooksSubjectsShared ExamplesShared ContextBuilt-in MatchersMocks and DoublesInstance DoublesClass DoublesAs a software engineer and consultant who's worked with Ruby for several years, I'm excited to introduce you to the awesome RSpec library, its elegant syntax, and all of its fun quirks.

Thanks for checking out the course!Who this course is for:Intermediate Ruby developers interested in upgrading their skill set


Testing Ruby with RSpec: The Complete Guide的图片1
Testing Ruby with RSpec: The Complete Guide的图片2

发布日期: 2019-01-12