Ruby Full Stack Development: Unit Testing & Behavior Driven Development
Ruby 2.5
| Intermediate
- 12 videos | 1h 2m 4s
- Includes Assessment
- Earns a Badge
Testing is a critical part of software development. This course will explore the built-in unit testing features of Ruby, as well as how to use Cucumber and behavior driven development (BDD) to help with testing Ruby code. Begin by learning how to describe unit testing. Next, create and run a test unit. From there you will identify assertion types, assert numerical values, strings with patterns, and objects. As you progress, you will learn how to install Cucumber, create a scenario project with it, and setup step definitions to run a test. Finally, as an exercise, you will use unit tests and behavior driven development to verify code functionality.
WHAT YOU WILL LEARN
-
Describe how unit testing can benefit development with rubyCreate and run a unit testIdentify the different assertion types and how they can be used to test codeUse assertions to validate numeric valuesUse assertions to validate strings or patterns in stringsUse assertions to verify objects and object properties
-
Set up and tear down prerequisites for running a unit testDescribe behavior driven development and how it can be used for testing using cucumberInstall cucumber and create a cucumber projectCreate a scenario in a cucumber .feature fileCreate the step definitions for a cucumber scenario and run the testUse unit tests and behavior driven development to verify code functionality
IN THIS COURSE
-
3m 13sUpon completion of this video, you will be able to describe how unit testing can benefit development with Ruby. FREE ACCESS
-
5m 59sDuring this video, you will learn how to create and run a unit test. FREE ACCESS
-
2m 17sIn this video, you will identify the different assertion types and how they can be used to test code. FREE ACCESS
-
6m 35sIn this video, you will use assertions to validate numeric values. FREE ACCESS
-
5m 5sIn this video, learn how to use assertions to validate strings or patterns in strings. FREE ACCESS
-
5m 25sIn this video, you will learn how to use assertions to verify objects and their properties. FREE ACCESS
-
5m 9sIn this video, find out how to set up and tear down prerequisites for running a unit test. FREE ACCESS
-
4m 5sAfter completing this video, you will be able to describe behavior driven development and how it can be used for testing using Cucumber. FREE ACCESS
-
5m 52sIn this video, you will learn how to install Cucumber and create a Cucumber project. FREE ACCESS
-
5m 29sIn this video, you will learn how to create a scenario in a Cucumber .feature file. FREE ACCESS
-
5m 49sDuring this video, you will learn how to create the step definitions for a Cucumber scenario and how to run the test. FREE ACCESS
-
7m 5sFind out how to use unit tests and behavior driven development to verify code functionality. FREE ACCESS
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.