Skip to main content

Setup Spark Ruby Framework

Install Ruby​

Test Evolve recommend using a ruby manager to manage your ruby installations on unix systems. A list of managers can be found on the Ruby site.

We recommend RVM and this can be installed as follows:

  • Navigate to https://rvm.io/rvm/install.
  • In a terminal window, execute the command from the site to 'Installing the stable release version'. Which may be something like this:
\curl -sSL https://get.rvm.io | bash -s stable --auto-dotfiles
  • Once installed, close the terminal window and open a fresh one.
  • Run rvm install 3.3.10 from the terminal window.
  • Ensure this version of ruby is used by default by running rvm use 3.3.10 --default.

Once complete, Ruby and all necessary dependencies should be installed.

Return to the Next Step of the Quick Start Guide​

Install IDE​

To edit and execute the test scenarios an IDE is required. TestEvolve recommends using RubyMine, which is a fully featured ruby development environment and gives a trial period of 30 days before a license is required.

Alternatives include Visual Studio Code or using a text editor such as Atom, which both have several plugins for formatting and executing Cucumber test scenarios.

Return to the Next Step of the Quick Start Guide​

Troubleshooting​

Please see troubleshooting