spring-guides/tut-spring-boot-kotlin

Junit-Platform.properties file not necessary scince junit-jupiter 5.0+

Vamillion opened this issue · 1 comments

Hi everyone,

I started reproducing your tutorial by myself and stumpeled accross the thing that the junit-platform.properties file is not necessary anymore.

Within the build process TestInstance(Lifecycle.PER_CLASS)-Annotation is the new recommendation which makes the .properties file obsulet.
Additionally, I got build errors trying to use the .properties file instead.

I think junit-platform.properties is used on purpose here to avoid repeating @TestInstance(LifeCycle.PER_CLASS).