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

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.

Contents