File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
framework-docs/modules/ROOT/pages/languages/kotlin Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -322,6 +322,14 @@ This section addresses testing with the combination of Kotlin and Spring Framewo
322322The recommended testing framework is https://junit.org/[JUnit] along with
323323https://mockk.io/[Mockk] for mocking.
324324
325+ [TIP]
326+ ====
327+ Kotlin lets you specify meaningful test function names between backticks (```).
328+
329+ For a concrete example, see the `+++`Find all users on HTML page`()+++` test function later
330+ in this section.
331+ ====
332+
325333NOTE: If you are using Spring Boot, see
326334{spring-boot-docs-ref}/features/kotlin.html#features.kotlin.testing[this related documentation].
327335
@@ -352,7 +360,6 @@ file with a `spring.test.constructor.autowire.mode = all` property.
352360[[per_class-lifecycle]]
353361=== `PER_CLASS` Lifecycle
354362
355- Kotlin lets you specify meaningful test function names between backticks (+++```+++).
356363With JUnit Jupiter, Kotlin test classes can use the `@TestInstance(TestInstance.Lifecycle.PER_CLASS)`
357364annotation to enable single instantiation of test classes, which allows the use of `@BeforeAll`
358365and `@AfterAll` annotations on non-static methods, which is a good fit for Kotlin.
You can’t perform that action at this time.
0 commit comments