Skip to content

API test automation framework with Page object model. Airborne which is using RestClient and Rspec are implemented

Notifications You must be signed in to change notification settings

gunesmes/ruby-airborne-rspec-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ruby-airborne-rspec-api

API test automation framework with Page object model. Airbone which is using RestClient and Rspec are implemented

Running API Tests

Test are written with Ruby, rspec so you need to setup Ruby environment. Depending on your OS you can setup Ruby by this link

Install bundler

When Ruby setup is done, you can install bundler

gem install bundler

Install requirements with bundler

When bundler is installed, you can install requirements by bundler

# go to root folder where Gemfile is present
cd rspec-api
bundle install

Run a test file

cd rspec-api
rspec spec/features/register/register_spec.rb 

Run tests with creating reports

cd rspec-api
# html report
rspec spec/features --format html --out reports/rspec_results.html

# document report
rspec spec/features --format progress --format documentation --out rspec.txt 

About

API test automation framework with Page object model. Airborne which is using RestClient and Rspec are implemented

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •