Skip to content
SPECIFICTION
Get listed

ExUnit vs pytest

ExUnit

hexdocs.pm

pytest

pytest.org

Side by side

FigureExUnitpytest
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
LinuxYesYes
Plans published11
Spec score · Unit Testing Frameworks8.3 (#4)7.4 (#26)
Spec score · Unit Testing8.2 (#6)7.4 (#20)
AssertionsExUnit.Assertions provides macros that generate assertions with appropriate error messages.pytest provides detailed information about failing assert statements through assertion introspection.
Founded20122004
Intended usersThe Elixir website describes Elixir as serving solo developers and Fortune 500 companies across varied industries and applications.pytest is described for testing applications and libraries, and its enterprise support offer is aimed at organizations using open source dependencies to build applications.
PurposeExUnit is a unit testing framework for Elixir.pytest is a framework for writing small, readable tests that can scale to complex functional testing for applications and libraries.

Plans

ExUnit

  • ExUnitFree

ExUnit pricing →

pytest

  • pytestFree

pytest pricing →

In their own words

ExUnit

ExUnit has no write-up on Specifiction yet; its figures are above.

Visit hexdocs.pm

pytest

pytest has no write-up on Specifiction yet; its figures are above.

Visit pytest.org