Skip to content

Generate random data for fixture props #6

@bogdan-stefan-hs

Description

@bogdan-stefan-hs

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions