Testing Ruby with RSpec: The Complete Guide
Testing Ruby with RSpec: The Complete Guide
Welcome to Testing Ruby with RSpec: The Complete Guide!
This course offers a comprehensive overview of the RSpec testing library for the Ruby programming language. 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. Tests give you the confidence to refactor existing code because you know that you will honor the original purpose of the code.
The benefits of testing extend outside of your codebase. In this course, we'll cover test-driven development (TDD), a methodology in which we write our tests first, before the implementation. Test-driven development often leads to simpler, more decoupled code. Thus, testing can 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 RSpec essentials and proceeds to more complex topics including:
Installation
Project Initialization
Test-Driven Development (TDD)
let variables
before and after Hooks
Subjects
Shared Examples
Shared Context
Built-in Matchers
Mocks and Doubles
Instance Doubles
Class Doubles
As a software engineer and consultant who's worked with Ruby for 5+ 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!
Master the art of test driven development (TDD) in Ruby using the RSpec Gem. No previous testing experience needed!
Url: View Details
What you will learn
- Master the syntax and structure of RSpec, the most popular Ruby Gem for testing
- Utilize test-driven development principles to design and implement clean test specs in Ruby
- Explore the wide collection of RSpec matchers available to test your code
Rating: 4.65957
Level: Beginner Level
Duration: 7.5 hours
Instructor: Boris Paskhaver
Courses By: 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
About US
The display of third-party trademarks and trade names on this site does not necessarily indicate any affiliation or endorsement of hugecourses.com.
View Sitemap