# ExMachina

Elixir library for defining test data factories and associations, used with Ecto and configurable for other persistence libraries.


Source: https://findsoftware.frbit.cloud/ex-machina/
Last reviewed: 2026-11-08
Listed since: 2026-11-08

## Record

### Links

- repository: https://github.com/beam-community/ex_machina
- docs: https://hexdocs.pm/ex_machina/ExMachina.html

### Identity

- status: active
- maintainer: BEAM Community
- maintainerType: community
- parent: unknown
- firstRelease: 2015
- hqCountry: unknown

### Kind

- category: testing
- hosting: not applicable
- language: elixir
- runtime: beam
- runtimeMin: not applicable
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: unknown
- renderingModes: not applicable
- installMethod: Mix (hex)

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 2
- latestReleaseDate: 2026-08-02

### Adoption

- githubStargazers: 2063
- packagistDownloads: not applicable
- npmWeeklyDownloads: not applicable
- contributors: 70
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 1069
- dependentPackages: 10

### Sources

- urls: https://api.github.com/repos/beam-community/ex_machina (read 2026-11-08)
- urls: https://github.com/beam-community/ex_machina/blob/main/README.md (read 2026-11-08)
- firstRelease: https://hex.pm/api/packages/ex_machina (read 2026-11-08)
- maintainer: https://github.com/beam-community/ex_machina/blob/main/LICENSE.md (read 2026-11-08)
- category: https://github.com/beam-community/ex_machina/blob/main/README.md (read 2026-11-08)
- language: https://api.github.com/repos/beam-community/ex_machina (read 2026-11-08)
- runtime: https://api.github.com/repos/beam-community/ex_machina (read 2026-11-08)
- installMethod: https://github.com/beam-community/ex_machina/blob/main/README.md (read 2026-11-08)
- license: https://github.com/beam-community/ex_machina/blob/main/LICENSE.md (read 2026-11-08)
- licenseModel: https://github.com/beam-community/ex_machina/blob/main/LICENSE.md (read 2026-11-08)
- currentMajor: https://api.github.com/repos/beam-community/ex_machina/releases/latest (read 2026-11-08)
- latestReleaseDate: https://api.github.com/repos/beam-community/ex_machina/releases/latest (read 2026-11-08)
- githubStargazers: https://api.github.com/repos/beam-community/ex_machina (read 2026-11-08)
- contributors: https://api.github.com/repos/beam-community/ex_machina/contributors?per_page=1 (read 2026-11-08)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/hex.pm/packages/ex_machina (read 2026-11-08)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/hex.pm/packages/ex_machina (read 2026-11-08)

## Notes

ExMachina is an Elixir library for defining test data factories and associations. It is published on Hex as `ex_machina` and is added to a project's `mix.exs`. The README says it works with Ecto and can be configured for other persistence libraries. The LICENSE names BEAM Community as copyright holder, and the documentation is on HexDocs.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
