Giter VIP home page Giter VIP logo

functional-tests's Introduction

Behaviour Driven Testing Framework

Tech stack

Tools Description
CucumberJVM BDD layer
JUnit Assertion library
Selenium-WebDriver Test framework
Java Test scripting language
Rest Assured API testing
Hamcrest Assertion library
Maven Build tool

Installations

  • Git. Add the ssh keys to your profile on Gitlab
  • An IDE, which supports Java and Gherkin(for Cucumber). The one used is IntelliJ. Add the - Gherkin and Cucumber for Java plugin to the IDE.
  • Java JDK 7. Version used is 7.80
  • Maven. Version used is 3.3.9

Machine setup

For Mac

  1. Open Terminal
  2. Type vim .bash_profile
  3. export JAVA_HOME=$(/usr/libexec/java_home)
  4. Click ESC then type :wq (save and quit in vim)
  5. Then type source .bash_profile
  6. echo $JAVA_HOME
  7. echo $PATH if you see the path you are all set.

Code Setup

brew install geckodriver
git clone https://github.com/Wamikas/Functional-tests.git
git clone https://github.com/lroslonek/WiremockStandaloneExample.git

Running tests

Note: Before running the tests make sure that Wiremock server is up java -jar wiremock-1.55-standalone.jar To execute all tests mvn test

functional-tests's People

Contributors

xpmatteo avatar

Watchers

 avatar  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.