Skip to content

gastonrey/rest_api_testing_using_airborne_gem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to start

After cloning this project there some dependencies to be already have installed on your machine:

  • Ruby >= 2.0 (I would recommend to use RVM in order to get it done)
  • Bundler (gem install bundler)

With this already installed, go to the cloned repo folder and execute:

  • bundle install

This will install all the necessary gems from Gemfile file.

How to execute the tests

To execute the whole suite, and get a HTML report:

  • bundle exec rspec spec/ -f h > api_test_report.html

To execute just one of the folders, and get a HTML report:

  • bundle exec rspec spec/replace_param_specs/ -f h > api_test_report.html

If you want to execute it with a document type report on console, change the -f option by:

  • bundle exec rspec spec/text_param_specs/add_some_empty_text_spec.rb -f d

About

This is an example of playing around rest api testing using the Gem Airborne to make it easy to create and read

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors