Skip to content

Set the seed for the generated data to become constant #175

@Ekleog

Description

@Ekleog

Hello! I'm looking into mockd to generate test data for my integration tests.

However, seeing how I'll need to refer to the generated data in my tests, I'm wondering if it'd make sense to have a way to set the seed, so that the randomly-generated data is always the same?

For now I'll probably just use mockd to generate a SQL file of data to then create my database, but it'd be awesome to remove that checked-in SQL file and instead just fill the database live.

WDYT?

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