Skip to content

Change Automock Default-Values #1429

Open
@ChristianKlima

Description

@ChristianKlima

To mock our backend we use factories in which we set default values. It would save us a lot of code if we could use this api. Unfortunately, you cannot change the default values. Empty strings are not an alternative, since an empty string can also simply indicate that the value has not been set (it doesn't have to come from the backend then). The random function doesn't help either, since our tests are based on fixed values. I think it wouldn't be difficult to make the default values ​​configurable? It would really help us a lot.

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