Coder Social home page Coder Social logo

sharmaashutosh / bdd-with-test-automation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from angiejones/bdd-with-test-automation

0.0 1.0 0.0 13 KB

This code base shows how to utilize minimalist BDD-style Gherkin files for test automation.

Java 95.60% Gherkin 4.40%

bdd-with-test-automation's Introduction

Utilizing Good Gherkin for Test Automation

This code base shows how to utilize minimalist BDD-style Gherkin files for test automation. As a good practice, the implementation details are not specified in the Gherkin file, but instead are pushed down to the code level. This allows automation engineers to be free to implement the scenarios as they see fit.

Given this scenario, the tests are automated against the UI, API, and even visual testing, even though the Gherkin steps do not explicitly state this.

Scenario: Withdraw from account when funds are available
    Given a customer has an account
    And the account balance is 100.00 dollars
    When the customer withdraws 10.00 dollars
    Then the account balance should be 90.00 dollars
    And a new transaction should be recorded

Tools used: Java, Selenium WebDriver, Rest-Assured, Cucumber, Applitools

Blog Post: http://angiejones.tech/writing-good-gherkin-enables-good-test-automation/

Video demonstration of this code base can be found as part of the 2019 Automation Guild Conference.

bdd-with-test-automation's People

Contributors

angiejones avatar

Watchers

 avatar

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.