Skip to content

Latest commit

 

History

History
185 lines (130 loc) · 6.44 KB

examples.rst

File metadata and controls

185 lines (130 loc) · 6.44 KB
.. cssclass:: topic

Examples

.. cssclass:: dynamic-content csharp examples-table

Listed below are examples for using Gauge to set up test projects for C# language along with different frameworks.

.. cssclass:: dynamic-content csharp examples-table
Framework Description Link
Selenium This is an example project for doing web automation testing with Gauge and Selenium. Read more
Selenium With Page Objects This is an example project for doing web automation testing with Gauge and Selenium using Page Object pattern. Read more
.. cssclass:: dynamic-content java examples-table

Listed below are examples for using Gauge to set up test projects for Java language along with different frameworks.

.. cssclass:: dynamic-content java examples-table
Framework Description Link
Maven + Selenium This is an example project for doing web automation testing with Gauge and Selenium. It uses Maven as build tool Read more
Gradle + Selenium This is an example project for doing web automation testing with Gauge and Selenium. It uses Gradle as build tool Read more
Sahi This is an example project for doing web automation testing with Gauge and Sahi. Read more
Selendroid This is an example project for doing mobile app automation testing with Gauge and Selendroid. Read more
Guice This is an example project for doing web automation testing with Gauge and Guice. Read more
Spring This is an example project for doing web automation testing with Gauge and Spring. Read more
.. cssclass:: dynamic-content javascript examples-table

Listed below are examples for using Gauge to set up test projects for JavaScript language along with different frameworks.

.. cssclass:: dynamic-content javascript examples-table
Framework Description Link
Taiko This is an example project for doing web automation testing with Gauge and Taiko. Read more
.. cssclass:: dynamic-content python examples-table

Listed below are examples for using Gauge to set up test projects for Python language along with different frameworks.

.. cssclass:: dynamic-content python examples-table
Framework Description Link
Selenium This is an example project for doing web automation testing with Gauge and Selenium. Read more
.. cssclass:: dynamic-content ruby examples-table

Listed below are examples for using Gauge to set up test projects for Ruby language along with different frameworks.

.. cssclass:: dynamic-content ruby examples-table
Framework Description Link
Selenium This is an example project for doing web automation testing with Gauge and Selenium. Read more
Selenium with Capybara
  • This is an example project for doing web automation testing with Gauge and Capybara.
Read more

Integration with CI/CD

Gauge can be easily integrated with any Continuous Integration environment.

Since Gauge supports first class command line, invoking it from any CI/CD tool is very straightforward.

Steps to Integrate Gauge with CI tool:

  • Install the Gauge and language plugin on CI machine
  • Add gauge commands as tasks in CI to run tests.

For example, to run the specs use gauge run specs

  • If you want to run specific instance of gauge on CI, add it in PATH env or use absolute path of specific instance.
  • Gauge returns html-reports, console output as result of execution which can be configured to view on CI.

See below some examples demonstrating specific use cases using Gauge and integrating it with your favourite CI/CD tool.

.. cssclass:: dynamic-content cicd-table
GoCD This tutorials explains how to integrate Gauge with GoCD. Read more
TeamCity This tutorials explains how to integrate Gauge with TeamCity. Read more
CircleCI This tutorials explains how to integrate Gauge with Circle CI. Read more
Jenkins This tutorials explains how to integrate Gauge with Jenkins. Read more
Azure This tutorials explains how to integrate Gauge with Azure Pipelines. Read more
Docker This tutorials explains how to run Gauge in Docker containers. Read more