8000 GitHub - scyber/sogeti
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

scyber/sogeti

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Prepare for Running tests

Before run the test Cases you need to have on your pc/ws docker, jdk 1.8, maven run install JDK 1.8 on your pc/workstation and check if it's avalable in some cases you need to download and setup

JAVA_HOME environment variable point to your jdk version

export JAVA_HOME=/usr/bin

Add PATH for running maven to your command line

export PATH=/tmp/maven:$PATH

for Linux or Mac

export JAVA_HOME=/path/to/jdk

Check

echo $JAVA_HOME

Add maven to your $PATH

where maven-dir you download and unpack maven

export PATH=$PATH:/maven-dir

Check maven is avalable in the path

mvn

Before start run tests you need to install Docke and runr on your PC/workstation to be able to run Selenium tests

docker info

How to build the project and run the tests

mvn clean package

Optionally in the target dir I add record with video Selenium iteration

How to Run tests from command line

mvn test -Dtest=CheckWebPortal#testCase1
mvn test -Dtest=CheckWebPortal#testCase2
mvn test -Dtest=CheckWebPortal#testCase3

run all Selenium tests

this option disabled

Run Api tests

mvn test -Dtest=CheckRestApi#testCase4_1
mvn test -Dtest=CheckRestApi#testCase4_2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0