Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/TestFactory Kotlin Sequence support #3377

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hanszt
Copy link

@hanszt hanszt commented Jul 2, 2023

Overview

Adding support for converting iterator providing classes to a stream in org.junit.platform.commons.util.CollectionUtils.

See also Add kotlin Sequence support for @TestFactory annotated methods


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


Definition of Done

@hanszt hanszt force-pushed the feature/testfactory-kotlin-sequence-support branch 10 times, most recently from 8a0a767 to 52d6c31 Compare July 5, 2023 08:15
@hanszt hanszt changed the title Feature/TestFactory kotlin sequence support Feature/TestFactory Kotlin Sequence support Jul 5, 2023
@marcphilipp marcphilipp linked an issue Jul 7, 2023 that may be closed by this pull request
2 tasks
@hanszt hanszt force-pushed the feature/testfactory-kotlin-sequence-support branch from 52d6c31 to f32d798 Compare July 7, 2023 20:38
@hanszt hanszt requested a review from marcphilipp July 7, 2023 20:54
@hanszt
Copy link
Author

hanszt commented Jul 25, 2023

Hello, I am curious if my changes in response to the review satisfy the requirements. I would love to hear what you think and if it can be merged to the main branch

Examples of benefits:

- Kotlin Sequence support for @testfactory
- Kotlin Sequence support for @MethodSource

Classes that expose an Iterator returning method, can be converted to a stream.

```markdown
---
I hereby agree to the terms of the JUnit Contributor License Agreement.
```
@hanszt hanszt force-pushed the feature/testfactory-kotlin-sequence-support branch from f32d798 to 9e7a9a3 Compare May 8, 2024 09:05
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.

Add kotlin Sequence support for @TestFactory annotated methods
2 participants