Gems

Some useful gems that I have come across

PRY

gem install pry
Useful gem for debugging. Use it to get the runtime variable values. Particularly useful in web testing
Use: add ‘binding.pry’ where you want add a debug point in your ruby code. Tests will stop at that point and you can type commands into the command prompt during run time

HTTParty

gem install httparty
Used for API testing, making GET, POST, PUT …. calls to a web service

YARD

gem install yard
Used to create documents from your tests
More at: https://www.rubydoc.info/gems/yard/frames

Colourise

Used to add different colour outputs in terminal. Useful for debugging
https://github.com/fazibear/colorize

CGI

Used to parse get returns
https://stackoverflow.com/questions/2500462/how-to-extract-url-parameters-from-a-url-with-ruby-or-rails

 

 

[catlist name="gems"]