Testing
Testing frameworks, mocking libraries, and test utilities beyond ExUnit. Packages among the 3,000 most downloaded in the past 90 days.
-
8361.5m
-
1.4k1.3m
-
excoveralls 0.18.5
Coverage report tool for Elixir with coveralls.io integration.
8621.2m last 90 days8621.2m -
junit_formatter 3.4.0
An ExUnit.Formatter that produces an XML report of the tests run in the project _build dir. It is a good fit with Jenkins test reporting plugin, for example.
112864.2k last 90 days112864.2k -
ex_machina 2.8.0
A factory library by the creators of FactoryBot (née FactoryGirl)
2.0k818.7k last 90 days2.0k818.7k -
mock 0.3.9
A mocking library for the Elixir language. We use the Erlang meck library to provide module mocking functionality for Elixir. It uses macros in Elixir to expose the functionality in a convenient manner for integrating in Elixir tests.
691676.6k last 90 days691676.6k -
938563.7k
-
-504.5k
-
bypass 2.1.0
Bypass provides a quick way to create a custom plug that can be put in place instead of an actual HTTP server to return prebaked responses to client requests. This is helpful when you want to create a mock HTTP server and test how your HTTP client handles different types of server responses.
994391.6k last 90 days994391.6k -
215348.5k
-
558331.8k
-
588273.2k
-
absinthe_query_all 0.5.0
A package for automatic, comprehensive querying of Absinthe GraphQL schemas (for purposes of easily creating automatic testing setups).
263.8k last 90 days-263.8k -
a11y_audit 0.3.2
Automated accessibility testing for Elixir web applications using axe-core
58247.5k last 90 days58247.5k -
76217.6k
-
41183.8k
-
41174.6k
-
94156.5k
-
40144.1k
-
913142.8k
-
exvcr 0.17.1
HTTP request/response recording library for elixir, inspired by VCR.
746125.7k last 90 days746125.7k -
1.8k123.7k
-
15121.8k
-
108120.6k
-
499.8k
-
assertions 0.22.0
Helpful functions with great error messages to help you write better tests.
15277.8k last 90 days15277.8k -
absinthe_streamdata 0.1.3
Create Graphql StreamData generator from an Absinthe schema
174.7k last 90 days174.7k -
4359.0k
-
2551.3k
-
mix_test_interactive 5.1.0
Interactive test runner for mix test with watch mode.
12850.3k last 90 days12850.3k -
7948.8k
-
phoenix_test_playwright 0.13.0
Execute PhoenixTest cases in an actual browser via Playwright.
8342.0k last 90 days8342.0k -
assert_value 0.10.5
ExUnit's assert on steroids that writes and updates tests for you
10840.4k last 90 days10840.4k -
parameterized_test 0.6.1
A utility for defining eminently readable parameterized (or example-based) tests in ExUnit
6135.9k last 90 days6135.9k -
23735.2k
-
5033.8k
-
2932.9k
-
13432.7k
-
amrita 0.4.0
A polite, well mannered and thoroughly upstanding testing framework for Elixir
28.0k last 90 days-28.0k -
1827.9k
-
telemetry_test 0.1.2
Simplify and reduce test clutter when testing Telemetry events
725.6k last 90 days725.6k -
7124.2k
-
rebar3_codecov 0.7.0
Rebar3 plugin converting .coverdata files to codecov compatible JSON
1223.0k last 90 days1223.0k -
neo_faker 0.14.0
NeoFaker is an Elixir library that generates fake data for testing and development.
321.4k last 90 days321.4k -
3121.0k
-
13620.6k
-
3818.5k
-
propcheck 1.5.0
PropCheck provides property based testing and is an Elixir layer around PropEr. It is also inspired by Quviq's QuickCheck Elixir library.
39218.4k last 90 days39218.4k -
9218.0k
-
1617.6k
-
live_isolated_component 0.10.0
Simple library to test LV components live in isolation
4117.5k last 90 days4117.5k -
hound 1.1.1
Webdriver library for integration testing and browser automation
1.4k17.1k last 90 days1.4k17.1k -
4916.5k
-
15316.3k
-
81615.7k
-
215.6k
-
1715.0k
-
-14.2k
-
4114.0k
-
114.0k
-
ex_meck 0.3.0
A mocking library particularly suitable for stateful property based testing.
213.0k last 90 days213.0k -
efx 1.0.1
A library to declaratively write testable effects for asynchronous testing
9712.5k last 90 days9712.5k -
1112.2k
-
test_iex 0.1.1
A utility module that helps you iterate faster on unit tests. This module lets execute specific tests from within a running iex shell to avoid needing to start and stop the whole application every time.
1012.2k last 90 days1012.2k -
wormwood 0.1.3
Wormwood is a tiny library to aid in testing GraphQL queries against an Absinthe schema. It allows you to test your query documents inside ExUnit test modules, and requires no HTTP requests to occur during testing.
9311.4k last 90 days9311.4k -
grpc_mock 0.3.0
GrpcMock is mocking library for [Elixir gRPC implementation](https://github.com/tony612/grpc-elixir). It provides seamless mock creation based on `pb.ex` definition and usual mocking "expect" - "verify" mechanisms.
311.2k last 90 days311.2k -
110.0k
-
09.5k
-
http_mock_pal 1.0.0
A convenience library to spawn plug router with your application for testing purposes
29.1k last 90 days29.1k -
1918.3k
-
testcontainers 2.1.0
Testcontainers is an Elixir library that supports ExUnit tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.
1627.9k last 90 days1627.9k -
ex_unit_summary 0.2.0
The library outputs test results to the console, which helps speed up the red-green test correction cycle (inspired by rspec)
137.4k last 90 days137.4k -
double 0.8.2
Double is a simple library to help build injectable dependencies for your tests. It does NOT override behavior of existing modules or functions.
497.3k last 90 days497.3k -
1387.3k
-
226.9k
-
66.7k
-
726.6k
-
596.4k
-
-6.4k
-
216.4k
-
06.4k
-
766.1k
-
ex_unit_cluster 0.7.0
Spin up dynamic clusters in ExUnit tests with no special setup necessary.
35.9k last 90 days35.9k -
html_test_helpers 0.1.7
HTMLTestHelpers provides function helpers for unit testing allowing easy assertions for HTML elements data queried by data-testid attribute.
85.8k last 90 days85.8k -
response_snapshot 1.0.1
ResponseSnapshot is a testing tool for Elixir that captures the output of responses and ensures that they do not change in between test runs.
365.6k last 90 days365.6k -
power_assert 0.3.0
Power Assert in Elixir. Shows evaluation results each expression.
2145.4k last 90 days2145.4k -
phoenix_integration 0.9.2
Lightweight server-side integration test functions for Phoenix. Optimized for Elixir Pipes and the existing Phoenix.ConnTest framework to emphasize both speed and readability.
2195.4k last 90 days2195.4k -
65.3k
-
35.2k
-
175.1k
-
545.0k
-
24.9k
-
04.8k
-
-4.8k
-
-4.6k
-
fake_server 2.1.0
With FakeServer you can create individual HTTP servers for each test case, allowing external requests to be tested without the need for mocks.
724.4k last 90 days724.4k -
14.3k
-
-4.1k
-
-3.9k
-
173.9k
-
373.7k
-
03.7k
-
33.6k
-
63.5k
-
13.2k
-
cucumber_messages 32.3.1
Elixir implementation of the cucumber messages protobuf schema
353.1k last 90 days353.1k -
02.8k