You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Install Java 8 or higher on your local machine. To download Java 8 jdk click on that and install java for Windows.
To set up JAVA_HOME follow next steps:
Click left button of the mouse on the 'My computer' icon and choose 'Settings' in the drop-down list;
In the 'System' window click 'Additional parameters of the system';
Click on button 'Environment variables';
In the modal window 'System variables' click button 'Add';
In the field 'Variable name' fill 'JAVA_HOME';
In the field 'Variable value' fill ;
Click 'OK' button;
Open 'PATH' in the 'System variables';
In the bottom of the list add %JAVA_HOME%\lib, %JAVA_HOME%\bin and %JAVA_HOME%\jre;
To check the acceptance of changes, open the command line of your machine and run the following 'path' command, at the end of the change you need to set \lib,\bin and \jre
Mac OS
Install with Homebrew
Install Homebrew using the command (if the homebrew already installed into you mac os skip that step) /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
Install java 8 using command brew tap adoptopenjdk/openjdk && brew cask install adoptopenjdk8
Set JAVA_HOME using command export JAVA_HOME=/path/to/java (usually for homebrew install it would be /Library/Java/JavaVirtualMachines/jdk/Contents/Home)
Set JAVA_HOME to the patch using command PATH=$JAVA_HOME/lib:$JAVA_HOME/bin:$JAVA_HOME/jre:$PATH
Go to the src/test/resources/ click on the right button and click Run 'Test' in 'ExpediteSuite.xml...'
Run using command line
Checkout project from git
Go to the checkout folder using cd java-web-test-demo
Start test using command for Windows: mvnw.cmd clean test for macOS: ./mvnw clean test
After test finished to generate the report using next command for Windows mvnw.cmd allureReport && mvnw.cmd allureServe
for macOS: ./mvnw allure:report && ./mvnw mvn allure:serve