- Windows: http://rubyinstaller.org/downloads/
- macos: https://www.ruby-lang.org/en/documentation/installation/#homebrew
- Linux: https://www.ruby-lang.org/en/documentation/installation/#apt
- Clone the Capybara-Cucumber-Ruby repository.
git clone https://github.com/LambdaTest/Capybara-Cucumber-Ruby.git
- Next get into Capybara-Cucumber-Ruby folder, and import Lamabdatest Credentials. You can get these from lambdatest automation dashboard.
For Linux/macOS::
export LT_USERNAME="YOUR_USERNAME"
export LT_ACCESS_KEY="YOUR ACCESS KEY"
For Windows:
set LT_USERNAME="YOUR_USERNAME"
set LT_ACCESS_KEY="YOUR ACCESS KEY"
Step 3. Install dependencies using gem.
bundle install
Step 4. Run single test.
bundle exec rake single
Step 5. Run parallel test.
bundle exec rake parallel
- Set tunnel value to
true
in test capabilities
OS specific instructions to download and setup tunnel binary can be found at the following links.
- You can view your test results on the [Lambdatest Automate dashboard]
- To test on a different set of browsers, check out our platform configurator
LambdaTest is a cloud based selenium grid infrastructure that can help you run automated cross browser compatibility tests on 2000+ different browser and operating system environments. LambdaTest supports all programming languages and frameworks that are supported with Selenium, and have easy integrations with all popular CI/CD platforms. It's a perfect solution to bring your selenium automation testing to cloud based infrastructure that not only helps you increase your test coverage over multiple desktop and mobile browsers, but also allows you to cut down your test execution time by running tests on parallel.