Skip to content

Add Kotlin-first Allure APIs and coroutine support - #1410

Merged
baev merged 2 commits into
mainfrom
kotlin
Sep 3, 2026
Merged

baev merged 2 commits into
mainfrom
kotlin

Conversation

@baev

@baev baev commented Sep 2, 2026

Copy link
Copy Markdown
Member

Context

This adds opt-in Kotlin modules without introducing Kotlin dependencies into allure-java-commons. Kotlin users get an idiomatic top-level facade for the public Allure runtime API, including named arguments, useful defaults, unambiguous lambdas, and a Kotlin-native StepScope.

The coroutine module adds suspend-aware steps and structured context propagation through withAllureContext. Steps remain current across dispatcher switches, parallel child coroutines are recorded as siblings, and worker-thread context is safely isolated and restored. Failures and cancellation retain Allure’s standard status handling, while the documentation explains installation and the boundaries of annotation-based Kotlin APIs.

Checklist

@baev baev added the pr:new feature Change that add something new for end users label Sep 2, 2026
@github-actions

github-actions Bot commented Sep 2, 2026 •

Copy link
Copy Markdown

Allure Report Summary

Name Duration Stats New Flaky Retry Report
Allure Java – Pull request #1410 29m 8s Passed tests 2279 0 0 0 View
Allure Java GitHub actions run (2026-09-02T16:57:27.069Z) 29m 8s Passed tests 2279 0 0 0 View

@baev
baev merged commit 2ad61b3 into main Sep 3, 2026
9 checks passed
@baev
baev deleted the kotlin branch September 3, 2026 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:new feature Change that add something new for end users

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants