Giter VIP home page Giter VIP logo

getgauge-examples's Introduction

getgauge-examples

Gauge vs Cucumber

Install Gauge (Prerequisite)

Please refer documentation to install Gauge https://docs.gauge.org/latest/installation.html

Gauge vs Cucumber

GAUGE CUCUMBER Examples in Guage(Refer project)
Run test suites on multiple environment with ease. No such built-in feature availbale. > gauge run --env int specs
Has the ability to combine re-usable logical groups of steps into a single unit scenarios known as concepts No such built-in feature available. Example1 (step *login to the url)
Both Start up (or Background steps) steps and tear down step available at specification/feature level) Only Background steps are available at feature level. Example3
Data driven testing can be achieved by both inline tables and csv files. It only provides data driven test though inline tables Example3
Parallel execution of scenarios is very simple without extra plugin Requires extra plugins to achive that. gauge run --parallel specs
In built facility to store run time context data. No inbuilt object to store run time data TestDataStore (Tests)
In build Facility to read data from external file. No built-in Facility to read data from external file. Example4
In build Facility to start capturing screen shots. No built-in Facility to start capturing screen shots. See reports
A lot More hooks like BeforeSuite/AfterSuite/BeforeSpec/AfterSpec/BeforeScenario/AfterScenario/BeforeStep/AfterStep Limited Hooks Before/After/BeforeStep/AfterStep. public class ExecutionHooks{ [BeforeSuite] public void BeforeSuite() { // Code for before suite } [AfterSuite] public void AfterSuite() { // Code for after suite } [BeforeSpec] public void BeforeSpec() { // Code for before spec } [AfterSpec] public void AfterSpec() { // Code for after spec } [BeforeScenario] public void BeforeScenario() { // Code for before scenario } [AfterScenario] public void AfterScenario() { // Code for after scenario } [BeforeStep] public void BeforeStep() { // Code for before step } [AfterStep] public void AfterStep() { // Code for after step }}
Built-In feature to rerun failed tests. No Built-In feature to rerun failed tests. > gauge run --failed
Built-In feature to continue on failures. No Such feature available in cucumber. Example5

getgauge-examples's People

Contributors

abhishek8908 avatar

Stargazers

Ilyes avatar Nos Doughty avatar  avatar

Watchers

Ovidiu Tuvrila avatar

Forkers

kabothu kashu4055

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.