Skip to content

Add Kotlin snippets for ten User Guide sections#5590

Open
yalishevant wants to merge 1 commit intojunit-team:mainfrom
yalishevant:kotlin-snippets-batch3
Open

Add Kotlin snippets for ten User Guide sections#5590
yalishevant wants to merge 1 commit intojunit-team:mainfrom
yalishevant:kotlin-snippets-batch3

Conversation

@yalishevant
Copy link
Copy Markdown
Contributor

@yalishevant yalishevant commented Apr 9, 2026

Adds Kotlin tabbed code snippets to ten more User Guide sections,
continuing the effort started in #5316 and #5432.

Pages updated (Writing Tests):

  • Built-in Extensions (@tempdir, @autoclose, Locale/TimeZone, SystemProperty)
  • Conditional Test Execution
  • Display Names
  • Annotations
  • Timeouts
  • Test Interfaces and Default Methods

Pages updated (Extensions):

  • Parameter Resolution
  • Keeping State in Extensions
  • Test Lifecycle Callbacks
  • Registering Extensions

I hereby agree to the terms of the JUnit Contributor License Agreement.


Definition of Done

  • There are no TODOs left in the code
  • Method preconditions are checked (N/A — documentation only)
  • Coding conventions have been followed
  • Change is covered by automated tests
  • Public API has Javadoc and @API annotations (N/A — documentation only)
  • Change is documented in the User Guide

Add tabbed Java/Kotlin code examples to ten documentation pages,
continuing the effort started in junit-team#5316 and junit-team#5432.

Pages updated (Writing Tests):
- Built-in Extensions (@tempdir, @autoclose, Locale/TimeZone, SystemProperty)
- Conditional Test Execution
- Display Names
- Annotations
- Timeouts
- Test Interfaces and Default Methods

Pages updated (Extensions):
- Parameter Resolution
- Keeping State in Extensions
- Test Lifecycle Callbacks
- Registering Extensions

Signed-off-by: Anton.Yalyshev <yalishev.ant@gmail.com>
@yalishevant yalishevant force-pushed the kotlin-snippets-batch3 branch from 8a1b05b to 6128746 Compare April 9, 2026 18:50
@testlens-app
Copy link
Copy Markdown

testlens-app bot commented Apr 9, 2026

✅ All tests passed ✅

🏷️ Commit: 6128746
▶️ Tests: 1067 executed
⚪️ Checks: 15/15 completed


Learn more about TestLens at testlens.app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant