Capybara

Prev Next

Capybara is a web-based test automation tool that replicates user story scenarios and automates testing of web applications, aligning with behavior-driven software development. It's coded in the Ruby programming language.

  1. Install Ruby and Bundler: Make sure you have the latest version of Ruby and Bundler installed on your system.

Run the following command to install the required packages listed in Gemfile:

bundle install
Plain text
  1. Personal Info: In "features/support/pcloudy.rb", provide your personal details:
    • pCloudy_Username: Your email address.
    • pCloudy_ApiKey: Your API key.

To execute the Capybara test script:

  1. Open the terminal and navigate to the project directory.
  2. Run the following command:
bundle exec rake singleDevice
Plain text

The complete sample and documentation are available in the pCloudy GitHub Repository : Github