Learn the syntax and structure RSpec, the most popular Ruby Gem to test right from scratch!
About This Video
- Learn the syntax and structure for RSpec, the most widely used Ruby Gem for testing
- Take a look at the vast selection of RSpec matches that are available to test your code
- Use test-driven development principles to create and implement Ruby test specifications.
This course provides a complete overview of the RSpec Ruby programming library testing library. RSpec is the most downloaded Ruby Gem ever, with more than 300 million downloads. If you're new to the topic, testing refers to writing code that validates that other code works as expected. Regressions are code changes that cause problems in the program. Tests can control them.
Testing has many benefits that go beyond the codebase. A test-driven approach to development will make you a better developer. Tests force you think critically about a program's features: classes, objects and methods.
This course starts with the basics and moves on to more complex topics such as project initialization, Test Driven Development (TDD), Let Variables, Before and After Hooks, subjects, shared examples and contexts, built-in matches and mocks and doubles. Instance doubles are also included.
This course will give you hands-on experience testing Ruby with the RSpec library.
Audiene
This course is for programmers who are interested in learning the basics of TDD and testing, as well as intermediate Ruby developers who want to improve their skills. It would be helpful to have knowledge of any text editor (VS Code recommended). You don't need any previous testing experience!