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

Provide methods for generating randomly populated collections #4

Open
stefanhechtltng opened this issue Jul 29, 2021 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@stefanhechtltng
Copy link
Contributor

stefanhechtltng commented Jul 29, 2021

Implement methods for generating empty / non-empty lists and populate them randomly with a reasonable number of elements. Also allow duplicate elements.

Implement methods for generating empty / non-empty sets and populate them randomly with a reasonable number of elements.

Typical usage:
valueprovider.listOf(FooTestData::foo) -> [foo_1, foo_2]
valueprovider.listOf(FooTestData::foo) -> []
valueprovider.nonEmptyListOf(FooTestData::foo) -> [foo_1]
valueprovider.setOf(FooTestData::foo) -> [foo_1]

@stefanhechtltng stefanhechtltng added the enhancement New feature or request label Jul 29, 2021
@stefanhechtltng stefanhechtltng self-assigned this Jul 29, 2021
@stefanhechtltng stefanhechtltng changed the title Provide methods for generating random lists Provide methods for generating randomly populated lists Jul 29, 2021
@stefanhechtltng stefanhechtltng changed the title Provide methods for generating randomly populated lists Provide methods for generating randomly populated collections Jul 29, 2021
stefanhechtltng added a commit that referenced this issue Mar 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant