Skip to content

Wamikas/Functional-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Basic BDT framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published