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 data for fixture props #6

Open
1 task
bogdan-stefan-hs opened this issue Aug 8, 2016 · 0 comments
Open
1 task

Generate random data for fixture props #6

bogdan-stefan-hs opened this issue Aug 8, 2016 · 0 comments

Comments

@bogdan-stefan-hs
Copy link

bogdan-stefan-hs commented Aug 8, 2016

Need

As a user
I want to be able to randomize my fixture props
So that I can find bugs in edge cases more easily.

Deliverables

  • A button that randomizes all primitive fixture props (i.e numbers, strings and booleans), no matter how deeply nested

Solution

  • Use faker.js to generate random data
  • Recursively parse the fixture object and replace primitive values with randomly generated ones.
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

No branches or pull requests

1 participant