Skip to content

Document approaches for writing factories #14

Open
@jadedarko

Description

With factories, data can be defined on attributes in a static way, or the fuzzy functions can be utilised.

It has been asserted by some, that the fuzzy functions should be generally avoided, and static values should be used to avoid potential flakiness - if the values differ from test run to test run, there is the potential that one (potentially rare) test run will generate an invalid value, but it may be hard to reproduce and diagnose

We should document approaches for this - e.g.: when (if ever) to use the random generation utils

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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