Skip to content

Example of using Java with Gradle, JUnit 5 and more

License

Notifications You must be signed in to change notification settings

PHPirates/java-template-project

Repository files navigation

. .
Travis Build Status
Coveralls Coverage Status
Codecov codecov

Template project for java

A similar template project in Kotlin is here.

From an idea by Marcos Placona, but now it will be for Gradle, JUnit 5 and JavaFX.

This is intended for use with IntelliJ.

It currently makes use of

  • IntelliJ
  • Java
  • Junit 5
  • Travis CI
  • Gradle
  • The Gradle wrapper (gradlew)
  • TestFX to use JavaFX components in tests
  • JaCoCo to generate test coverage reports
  • Coveralls to show some more test coverage statistics

Tips

  • You can quickly import the project into IntelliJ by importing the build.gradle file.

  • You can run gradlew test on the terminal to run the tests via gradle with the gradle wrapper (so you don't have to first install gradle locally by hand).

  • If you see all gradle keywords greyed out you may want to link the Gradle project in IntelliJ, if you do not see a popup asking you to then go to modules - import module and select your build.gradle.

About

Example of using Java with Gradle, JUnit 5 and more

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages