Test Data Libraries for Elixir

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • ex_machina

    Create test data for Elixir applications

  • The factory library ExMachina created by Thoughbot uses function names and generates an atom used to call factories. For example:

  • ex_zample

    A scalable error-friendly factories for your Elixir apps

  • ExZample is a factory library I wrote which allows you to use defined examples in your struct modules. My goal was to enable developers to organize their factories in any way they want while still having access to convenient functions. For example, if you don't define an example function in GitHub.Repo, you can still build the struct with its default values:

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • faker

    Faker is a pure Elixir library for generating fake data. (by elixirs)

  • Faker generates sample data that looks realistic but is fake. So, instead of using a sequence like those provided by ExMachina or ExZample, we can use Faker to generate false but genuine-looking data:

  • PaperClip

    Discontinued Easy file attachment management for ActiveRecord

  • The factory library ExMachina created by Thoughbot uses function names and generates an atom used to call factories. For example:

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts