PropSchema v0.3.0 API Reference
Modules
A model for the csv_mappings table. Include functionality for changeset validations and display/index lookups
Implementation of the PropSchema.AdditionalProperties
behaviour
An extension on Ecto.Schema
used to generate property tests. Schema can be further augmented
based on additional options, which will be read by the corresponding PropSchema.Executor
module
to generate tests
A behaviour that is used to define additional properties not provided in the base properties provided in the module
Reads the prop_schema
information from the provided module. Then it constructs a series of prop tests according to provided field requirements and other considerations declared in the schema.
Once the tests are all constructed the tests will run through the normal mix test
routine
Reads the prop_schema
information from the provided module. Then it constructs a series of private functions to
include in a test module according to provided field requirements and other considerations declared in the schema
Holds type declarations
Mix Tasks
Prints the property tests generated for the given module. Use --help
to see usage directions