Skip to content

tjmaher/capybara-gauge

Repository files navigation

capybara-gauge

This project is a basic UI testing framework with Capybara + Ruby + Bundler + Gauge testing Dave Haeffner's site, The-Internet.

Normally, logs and reports are set not to upload in the .gitignore. We have uploaded both for the reader to view.

Example: The reader can view the HTML Reports: (http://htmlpreview.github.com/?https://github.com/tjmaher/capybara-gauge/blob/master/reports/html-report/index.html) generated.

Basic Capybara-Gauge

December 2018

Code walkthoughs are given on the software testing blog, Adventures in Automation at http://tjmaher.com/

Framework

  • Spec: The test specifications: Human readable documents telling what is being tested and how
  • Step Implementations: Matches the test steps with the Capybara code that executes the browser tests
  • Step Implementations/Spec_Helper.rb: Configures Capybara to work with the Gauge framework, sets up Chrome to open in headless and non-headless mode, and sets up Chrome and ChromeDriver logging.
  • Reports: See what happens when the browser tests run, in xml, json, or html format.
  • Logs: Anything go wrong when running the tests? Check if there are console errors in the chrome.log, or Selenium problems in the chromedriver.log.

About

Basic UI testing framework with Capybara + Ruby + Bundler + Gauge testing The-Internet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published