Goldorin v0.40.3 Goldorin.Factory View Source

factory for test data

Link to this section Summary

Link to this section Functions

Link to this function

build(factory_name, attrs \\ %{})

View Source
Link to this function

build_list(number_of_records, factory_name, attrs \\ %{})

View Source
Link to this function

build_pair(factory_name, attrs \\ %{})

View Source
Link to this function

create_list(_, _, _)

View Source
create_list(any(), any(), any()) :: no_return()
Link to this function

create_pair(_, _)

View Source
create_pair(any(), any()) :: no_return()
Link to this function

factory(factory_name)

View Source
factory(any()) :: no_return()

Raises a helpful error if no factory is defined.