Framework Documentation
Framework Documentation
1. Java JDK
2. Intellij
3. Git
Step-by-step guide
Install Java JDK
1. Launch Control Panel ⇒ System and Security ⇒ System ⇒ click Advanced system
3. Under System Variables (the bottom pane), click on New... and add a
variable JAVA_HOME with the path to the SDK directory with the value C:\dev\jdk-
%JAVA_HOME%\bin;
java -version
8.
into a command shell which should print out something similar to
9. openjdk version "11" 2018-09-25
OpenJDK Runtime Environment 18.9 (build 11+28)
OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode)
10.
Install IntelliJ
In the dialogue you have to select the option to auto-detect settings and add the configuration
URL http://proxyclient.corp.dir:8081/accelerated_pac_base.pac. This should allow IntelliJ to
access needed information and the marketplace page should begin to fill with available
plugins.
Install git
ssh-keygen
Just repeatedly hit the return key every time the command waits for input to use the default
values. At the end of execution it will report back where it has put your public key. This looks
like:
Now we need the contents of that file so you can just type another command (replace the path
with your value):
less /c/Users/cs0000/.ssh/id_rsa.pub
Copy the lines into your clipboard and open up the Bitbucket server in a web browser. After
having logged in open your account settings. There you should see a section SSH keys. Here
you need to add a key and paste the contents of your id_rsa.pub file we copied to clipboard
before. Having added the key you will be presented with an SSH URL for cloning repositories
on the Bitbucket project pages. Use this URL instead of the HTTP(S) variant to clone
repositories to avoid any certificate errors / problems.
Or
Note: If you have the offline mode enabled in your project, the opening or re-
importing of the project might fail. To fix the issue, disable the offline mode
and re-import your project.
In this case you delegate the update of Gradle versions to Gradle and get an
automatic Gradle download for the build. This option also lets you build with a
precise Gradle version. The Gradle version is saved in the gradle-
wrapper.properties file in the gradle directory of the project and helps you
eliminate any Gradle version problems.
The following console output demonstrate the use of the Wrapper on a Windows machine for
a Java-based project.
Example:
Test Execution
Test Execution commands
DEV environment
Note: Please use escape character, if you have any special characters in your password
or username (not for Windows users)
3. On the right side of the Run/Debug Configurations dialog, in the Name field,
enter the name of your configuration: For Example Test_DEV for the dev
environment.
o Gradle project - click and select the registered Gradle project.
o Tasks – type in ‘clean test’
o VM options - you can customize VM options by typing in
"-Dcucumber.options=--tags {‘tagname’}" -Denv=dev -DdbUser={username} -DdbPwd={password}
4. Click OK.
The created configuration is added to the Run Configurations node in
the Gradle Projects tool window. You can create the run configuration for
several tasks.
5. Double-click the configuration to run the task or right-click the configuration
and select Debug for debugging.
6.