Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 1.19 KB

README.md

File metadata and controls

47 lines (32 loc) · 1.19 KB

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