Unit Testing with Ruby

This course will teach you how to test your Ruby application manually and automatically, using commonly used unit test frameworks.
Course info
Level
Intermediate
Updated
Jan 15, 2021
Duration
3h 2m
Table of contents
Description
Course info
Level
Intermediate
Updated
Jan 15, 2021
Duration
3h 2m
Description

Manually testing and automating the testing of your software are crucial when developing and architecting that software. In this course, Unit Testing with Ruby, you’ll learn to test your Ruby application manually and automatically. First, you’ll explore Ruby tools and techniques for manually testing and debugging your application. Next, you’ll discover commonly used unit test frameworks to test your code automatically. Finally, you’ll learn how to fake application behavior for testing purposes. When you’re finished with this course, you’ll have the skills and knowledge of manually and automatically testing Ruby applications needed to develop reliable applications.

About the author
About the author

Rag Dhiman is an experienced programmer who enjoys finding clean and expandable solutions to technological problems. He is MCPD and MCTS certified and a keen independent iOS developer with many Apps on the App Store.

More from the author
Azure Arc Enabled SQL Server: First Look
Intermediate
1h 23m
Jul 14, 2021
More courses by Rag Dhiman
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi, everyone. My name is Rag Dhiman, and welcome to my course titled Unit Testing with Ruby. I've been developing and architecting software at a commercial level for well over 15 years. Along this time, I've learned the importance of manually testing your software and the importance of automating the testing of your software. And for your Ruby‑based applications, there are many tools already included as part of your Ruby development environment, which help with manual testing. Tools that help in manual explorative testing and tools that help with manual debugging your Ruby application. And when it comes to automating your Ruby application's testing, there are many amazing third‑party frameworks available that help automate your Ruby application's testing using unit tests. Unit test frameworks that allow us to write code that test that the behavior of our application is as expected. And this code in the form of unit tests can be run regularly to ensure nothing breaks short term and the expected behavior of our application persists long term. Sometimes, however, there is a need to avoid running certain parts of our application because they're too expensive to run or too unpredictable to run repeatedly as part of our regular automated tests. This is where there is a need sometimes to fake application behavior, to isolate behavior and application code from part of the application code that we don't want to run as part of our automated tests. So the good news is, not only does this course teach you how to fake application behavior so you can avoid parts of your application that are too unpredictable and too expensive to run as part of your automated tests, but it also teaches you how to manually test your Ruby application, in addition to getting you started with automated testing using popular unit test frameworks. So by the end of this course, you'll be fully skilled up in both manually testing your Ruby application and automating the testing of your Ruby application. And before beginning this course, you should be familiar with Ruby programming and Ruby application development. So I hope you'll join me on this journey to learn how to do unit testing with Ruby, with this course at Pluralsight.