Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/guedesrodriguezleonardo/selenium-ruby

Web Automation testing framework using Selenium, RSpec and Ruby
https://github.com/guedesrodriguezleonardo/selenium-ruby

rspec ruby selenium selenium-ruby test-automation web-testing

Last synced: about 2 months ago
JSON representation

Web Automation testing framework using Selenium, RSpec and Ruby

Awesome Lists containing this project

README

        

# selenium-ruby ⛩ī¸

This project is an automated testing framework that utilizes Selenium, RSpec, and Ruby to perform web application testing. The primary objective is to perform automated tests on Google's search engine and validate the results returned.

## Project structure
### 🗐 Page Object Pattern
This project utilizes the Page Object Pattern, which is a design pattern used to organize and structure automated tests. It separates the code for interacting with a web page from the code for the tests themselves. This approach makes tests easier to read, maintain, and extend.

## How to run
To get started with this project, follow the steps below:

1. Clone the repository to your local machine
2. Install bundler by running
```
gem install bundler
```
4. Install the dependencies by running
```
bundle install
```
3. Run the test suite by running
```
bundle exec rspec
```

### 📚 Allure Report
This project uses the Allure Report to generate an interactive report that provides information about the test results.
After running the tests, the report can be generated by running the command
```
allure generate && allure open
```