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

Generate random instance of any class #1

Closed
serpro69 opened this issue Mar 13, 2019 · 3 comments
Closed

Generate random instance of any class #1

serpro69 opened this issue Mar 13, 2019 · 3 comments
Assignees
Labels
enhancement 🚀 New feature or request

Comments

@serpro69
Copy link
Owner

Thinking if something like this: https://blog.kotlin-academy.com/creating-a-random-instance-of-any-class-in-kotlin-b6168655b64a would be useful to have here (And whether it fits into this library?)

@serpro69 serpro69 self-assigned this Mar 13, 2019
@serpro69 serpro69 added the enhancement 🚀 New feature or request label Mar 13, 2019
@samneirinck
Copy link

Is it no longer planned to be implemented? Been looking for a while for a library which provides the functionality to generate instances of a random (data) class.

@serpro69
Copy link
Owner Author

Hi, it's actually implemented. I think I've forgotten to update the issue with the details and just closed it.
See here https://github.com/serpro69/kotlin-faker#generating-a-random-instance-of-any-class for details on usage.

@samneirinck
Copy link

Epic, thanks!

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

2 participants