31 lines
640 B
Markdown
31 lines
640 B
Markdown
= hsadminNg Development
|
|
|
|
== Setting up the Development Environment
|
|
|
|
You'll often need to execute `./gradlew`, therefore we suggest to define this alias:
|
|
|
|
alias gw='./gradlew'
|
|
|
|
== Building the Application with Test Execution
|
|
|
|
gw build
|
|
|
|
== Starting the Application
|
|
|
|
Either simply:
|
|
|
|
gw bootRun
|
|
|
|
or with a specific port:
|
|
|
|
SERVER_PORT=8081 ./gradlew bootRun
|
|
|
|
== 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.
|