Fixtures v0.0.1 Fixtures.Text View Source

Text related generators.

Link to this section Summary

Functions

Generate a random animal name.

Generate a random animal name.

Generate paragraphs of lorem ipsum.

Generate paragraphs of lorem ipsum.

Generate a random noun.

Generate a random noun.

Generate a random string.

Generate a random string.

Link to this section Functions

Generate a random animal name.

Link to this function

animal(settings, key, opts \\ [])

View Source
animal(Keyword.t(), atom(), Keyword.t()) :: String.t()

Generate a random animal name.

Generate paragraphs of lorem ipsum.

Set :paragraphs to set the amount of paragraphs to generate.

Link to this function

ipsum(settings, key, opts \\ [])

View Source
ipsum(Keyword.t(), atom(), Keyword.t()) :: String.t()

Generate paragraphs of lorem ipsum.

Set :paragraphs to set the amount of paragraphs to generate.

Generate a random noun.

Link to this function

noun(settings, key, opts \\ [])

View Source
noun(Keyword.t(), atom(), Keyword.t()) :: String.t()

Generate a random noun.

Generate a random string.

Options

  • :length the length of the generated string. Allows range of length.
  • :charset a string with all allowed characters.
Link to this function

string(settings, key, opts \\ [])

View Source
string(Keyword.t(), atom(), Keyword.t()) :: String.t()

Generate a random string.

Options

  • :length the length of the generated string. Allows range of length.
  • :charset a string with all allowed characters.