2019-04-02 10:23:40 +02:00
|
|
|
= hsadminNg Development
|
2019-04-01 13:14:56 +02:00
|
|
|
|
2019-04-02 10:23:40 +02:00
|
|
|
== Setting up the Development Environment
|
2019-04-01 13:14:56 +02:00
|
|
|
|
2019-04-02 10:23:40 +02:00
|
|
|
You'll often need to execute `./gradlew`, therefore we suggest to define this alias:
|
2019-04-01 13:14:56 +02:00
|
|
|
|
2019-04-02 10:23:40 +02:00
|
|
|
alias gw='./gradlew'
|
2019-04-01 13:14:56 +02:00
|
|
|
|
2019-04-02 10:23:40 +02:00
|
|
|
== Building the Application with Test Execution
|
2019-04-01 13:14:56 +02:00
|
|
|
|
2019-04-02 10:23:40 +02:00
|
|
|
gw build
|
2019-04-01 13:14:56 +02:00
|
|
|
|
2019-04-02 10:23:40 +02:00
|
|
|
== Starting the Application
|
2019-04-01 13:14:56 +02:00
|
|
|
|
2019-04-02 10:23:40 +02:00
|
|
|
Either simply:
|
2019-04-01 13:14:56 +02:00
|
|
|
|
2019-04-02 10:23:40 +02:00
|
|
|
gw bootRun
|
2019-04-01 13:14:56 +02:00
|
|
|
|
2019-04-02 10:23:40 +02:00
|
|
|
or with a specific port:
|
2019-04-01 13:14:56 +02:00
|
|
|
|
2019-04-02 10:23:40 +02:00
|
|
|
SERVER_PORT=8081 ./gradlew bootRun
|
2019-04-20 10:47:01 +02:00
|
|
|
|
|
|
|
== Running JUnit tests with branch coverage
|
|
|
|
|
|
|
|
=== for IntelliJ IDEA
|
|
|
|
|
|
|
|
see: https://confluence.jetbrains.com/display/IDEADEV/IDEA+Coverage+Runner
|
|
|
|
|
|
|
|
Either apply it to specific test configurations or,
|
|
|
|
better, delete the previous test configurations and amend the JUnit template.
|