From the course: Advanced Selenium: Automation Frameworks
Unlock the full course today
Join today to access over 24,700 courses taught by industry experts.
Introducing RSpec - Selenium Tutorial
From the course: Advanced Selenium: Automation Frameworks
Introducing RSpec
- [Instructor] RSpec is the Ruby specification framework intended to be used for behavioral style testing, but it's extremely adaptable to any test purpose. Go ahead and open up the Atom text editor, you can do that on the command line by running the command, atom ./ in the project directory and then hitting Enter, or you can just open it normally from the desktop, and then open our project by selecting File and Open, then navigate to the project we created in the last section. In the Project pane on the left side of the screen, open up the spec folder, and then open up the file tutorial.spec.rb. Notice that some boilerplate test code has been generated for you, we'll go ahead and delete these tests since they aren't relevant to our needs here. Then, go ahead and save your work.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
Getting started with Ruby23s
-
(Locked)
Managing packages with Bundler4m 28s
-
(Locked)
Installing Bundler gems1m
-
(Locked)
Introducing RSpec59s
-
(Locked)
Introducing Watir1m 59s
-
(Locked)
Testing with Watir: Navigate and wait4m 39s
-
(Locked)
Testing with Watir: Inputs4m 41s
-
(Locked)
Testing with Watir: Assertions2m 22s
-
(Locked)
-
-
-