Testing
Testing frameworks, mocking libraries, and test utilities beyond ExUnit. Packages among the 3,000 most downloaded in the past 90 days.
-
8331.2m
-
1.4k1.1m
-
excoveralls 0.18.5
Coverage report tool for Elixir with coveralls.io integration.
862979.2k last 90 days862979.2k -
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.
112677.1k last 90 days112677.1k -
ex_machina 2.8.0
A factory library by the creators of FactoryBot (née FactoryGirl)
2.0k665.5k last 90 days2.0k665.5k -
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.
690544.7k last 90 days690544.7k -
930424.4k
-
956407.3k
-
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.
994298.7k last 90 days994298.7k -
555264.4k
-
587243.5k
-
215220.7k
-
76160.5k
-
94141.5k
-
41130.5k
-
41127.9k
-
exvcr 0.17.1
HTTP request/response recording library for elixir, inspired by VCR.
745106.6k last 90 days745106.6k -
41105.7k
-
907101.4k
-
1597.5k
-
1.8k96.5k
-
assertions 0.22.0
Helpful functions with great error messages to help you write better tests.
15271.3k last 90 days15271.3k -
a11y_audit 0.3.1
Automated accessibility testing for Elixir web applications using axe-core
5855.3k last 90 days5855.3k -
absinthe_query_all 0.5.0
A package for automatic, comprehensive querying of Absinthe GraphQL schemas (for purposes of easily creating automatic testing setups).
52.9k last 90 days-52.9k -
2545.3k
-
assert_value 0.10.5
ExUnit's assert on steroids that writes and updates tests for you
10841.6k last 90 days10841.6k -
7941.0k
-
mix_test_interactive 5.1.0
Interactive test runner for mix test with watch mode.
12840.4k last 90 days12840.4k -
13430.9k
-
2930.3k
-
parameterized_test 0.6.1
A utility for defining eminently readable parameterized (or example-based) tests in ExUnit
6029.4k last 90 days6029.4k -
phoenix_test_playwright 0.12.1
Execute PhoenixTest cases in an actual browser via Playwright.
8027.7k last 90 days8027.7k -
23627.1k
-
10723.9k
-
420.5k
-
3120.4k
-
telemetry_test 0.1.2
Simplify and reduce test clutter when testing Telemetry events
719.3k last 90 days719.3k -
5018.6k
-
13618.1k
-
81716.7k
-
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.
39116.6k last 90 days39116.6k -
live_isolated_component 0.10.0
Simple library to test LV components live in isolation
4116.3k last 90 days4116.3k -
7115.8k
-
8915.2k
-
hound 1.1.1
Webdriver library for integration testing and browser automation
1.4k15.1k last 90 days1.4k15.1k -
rebar3_codecov 0.7.0
Rebar3 plugin converting .coverdata files to codecov compatible JSON
1215.0k last 90 days1215.0k -
115.0k
-
1614.3k
-
3814.2k
-
1613.9k
-
213.5k
-
absinthe_streamdata 0.1.3
Create Graphql StreamData generator from an Absinthe schema
113.0k last 90 days113.0k -
ex_meck 0.3.0
A mocking library particularly suitable for stateful property based testing.
212.7k last 90 days212.7k -
15312.0k
-
3712.0k
-
3811.9k
-
4911.5k
-
1110.4k
-
efx 1.0.1
A library to declaratively write testable effects for asynchronous testing
9710.0k last 90 days9710.0k -
729.7k
-
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.
39.6k last 90 days39.6k -
179.6k
-
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.
109.3k last 90 days109.3k -
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.
939.2k last 90 days939.2k -
68.4k
-
http_mock_pal 1.0.0
A convenience library to spawn plug router with your application for testing purposes
28.3k last 90 days28.3k -
08.2k
-
1817.8k
-
1387.7k
-
power_assert 0.3.0
Power Assert in Elixir. Shows evaluation results each expression.
2146.3k last 90 days2146.3k -
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)
136.1k last 90 days136.1k -
ex_unit_cluster 0.7.0
Spin up dynamic clusters in ExUnit tests with no special setup necessary.
26.0k last 90 days26.0k -
amrita 0.4.0
A polite, well mannered and thoroughly upstanding testing framework for Elixir
5.9k last 90 days-5.9k -
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.
495.7k last 90 days495.7k -
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 -
765.5k
-
585.4k
-
testcontainers 1.14.1
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.
1565.3k last 90 days1565.3k -
65.3k
-
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.2k last 90 days2195.2k -
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.1k last 90 days85.1k -
214.9k
-
04.4k
-
34.4k
-
-4.3k
-
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.3k last 90 days724.3k -
544.1k
-
23.9k
-
-3.8k
-
-3.8k
-
223.7k
-
373.7k
-
33.5k
-
03.5k
-
03.4k
-
63.3k
-
03.3k
-
173.2k
-
173.1k
-
-3.0k
-
13.0k
-
12.9k
-
92.9k
-
1502.6k
-
02.5k
-
12.5k
-
-2.5k
-
cucumber_messages 32.1.0
Elixir implementation of the cucumber messages protobuf schema
352.5k last 90 days352.5k -
-2.4k
-
862.3k
-
372.3k
-
-2.3k