Skip to content
This repository was archived by the owner on Jan 18, 2019. It is now read-only.

Mocking a keyword from a finite set of options #1

@abargnesi

Description

@abargnesi

mockJSON supports defining keywords that have a finite set of values. For example the keyword COLORS could be defined as the set of values ("red", "blue", "green"). Then the COLORS keyword could be used in a template with @COLORS which would randomly select a value from the set.

The set should be able to take different types such as int, str, float, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions