Testing
Testing frameworks, mocking libraries, and test utilities beyond ExUnit. Packages among the 3,000 most downloaded in the past 90 days.
-
8381.4m
-
excoveralls 0.18.5
Coverage report tool for Elixir with coveralls.io integration.
8621.3m last 90 days8621.3m -
1.4k1.3m
-
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.
112951.0k last 90 days112951.0k -
ex_machina 2.8.0
A factory library by the creators of FactoryBot (née FactoryGirl)
2.1k847.8k last 90 days2.1k847.8k -
942707.8k
-
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.
690697.3k last 90 days690697.3k -
-537.5k
-
215441.0k
-
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.
995437.6k last 90 days995437.6k -
570365.6k
-
590250.5k
-
77243.1k
-
a11y_audit 0.3.4
Automated accessibility testing for Elixir web applications using axe-core
58226.9k last 90 days58226.9k -
absinthe_query_all 0.5.0
A package for automatic, comprehensive querying of Absinthe GraphQL schemas (for purposes of easily creating automatic testing setups).
223.9k last 90 days-223.9k -
42205.7k
-
41200.2k
-
41180.5k
-
915168.7k
-
1.8k154.5k
-
94149.5k
-
15148.6k
-
exvcr 0.17.1
HTTP request/response recording library for elixir, inspired by VCR.
747122.8k last 90 days747122.8k -
111118.2k
-
485.3k
-
assertions 0.22.0
Helpful functions with great error messages to help you write better tests.
15275.4k last 90 days15275.4k -
absinthe_streamdata 0.1.3
Create Graphql StreamData generator from an Absinthe schema
167.2k last 90 days167.2k -
4356.2k
-
7956.0k
-
5053.1k
-
phoenix_test_playwright 0.14.0
Execute PhoenixTest cases in an actual browser via Playwright.
8251.9k last 90 days8251.9k -
mix_test_interactive 5.1.0
Interactive test runner for mix test with watch mode.
12951.5k last 90 days12951.5k -
parameterized_test 0.6.1
A utility for defining eminently readable parameterized (or example-based) tests in ExUnit
6141.5k last 90 days6141.5k -
13434.6k
-
telemetry_test 0.1.2
Simplify and reduce test clutter when testing Telemetry events
733.5k last 90 days733.5k -
23733.3k
-
1933.1k
-
rebar3_codecov 0.7.0
Rebar3 plugin converting .coverdata files to codecov compatible JSON
1228.8k last 90 days1228.8k -
2926.7k
-
1626.3k
-
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.
39326.1k last 90 days39326.1k -
amrita 0.4.0
A polite, well mannered and thoroughly upstanding testing framework for Elixir
25.3k last 90 days-25.3k -
7125.0k
-
15324.7k
-
2623.5k
-
13722.9k
-
3122.2k
-
9621.9k
-
3820.4k
-
neo_faker 0.14.0
NeoFaker is an Elixir library that generates fake data for testing and development.
320.0k last 90 days320.0k -
4919.4k
-
hound 1.1.1
Webdriver library for integration testing and browser automation
1.4k18.1k last 90 days1.4k18.1k -
live_isolated_component 0.10.0
Simple library to test LV components live in isolation
4017.8k last 90 days4017.8k -
1115.7k
-
efx 1.0.1
A library to declaratively write testable effects for asynchronous testing
9715.0k last 90 days9715.0k -
81614.6k
-
214.2k
-
113.5k
-
1713.4k
-
assert_value 0.10.5
ExUnit's assert on steroids that writes and updates tests for you
10812.9k last 90 days10812.9k -
-12.8k
-
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.4k last 90 days1012.4k -
19812.2k
-
testcontainers 2.3.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.
16711.5k last 90 days16711.5k -
2211.2k
-
ex_meck 0.3.0
A mocking library particularly suitable for stateful property based testing.
211.0k last 90 days211.0k -
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.0k last 90 days311.0k -
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.
9310.9k last 90 days9310.9k -
09.2k
-
http_mock_pal 1.0.0
A convenience library to spawn plug router with your application for testing purposes
28.1k last 90 days28.1k -
437.7k
-
37.6k
-
1387.5k
-
-7.5k
-
617.5k
-
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 -
17.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)
137.2k last 90 days137.2k -
07.1k
-
eventually 1.1.0
Macros to support assertions/refutations that might not be correct immediately but will eventually become so due to, say, eventual consistency.
86.7k last 90 days86.7k -
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.
726.4k last 90 days726.4k -
216.2k
-
546.0k
-
moxable 0.2.0
A simplified method for configuring modules to be mockable with Mox in Elixir projects.
6.0k last 90 days-6.0k -
776.0k
-
ex_unit_cluster 0.7.0
Spin up dynamic clusters in ExUnit tests with no special setup necessary.
35.5k last 90 days35.5k -
65.5k
-
725.5k
-
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 -
15.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.2k last 90 days85.2k -
15.2k
-
-5.1k
-
-4.6k
-
04.5k
-
-4.4k
-
power_assert 0.3.0
Power Assert in Elixir. Shows evaluation results each expression.
2144.3k last 90 days2144.3k -
metamon 0.9.0
Property-based testing and metamorphic testing combinator library for Gleam
24.0k last 90 days24.0k -
414.0k
-
113.9k
-
Playwright is an Elixir library to automate Chromium, Firefox and WebKit browsers with a single API. Playwright delivers automation that is ever-green, capable, reliable and fast.
3.8k last 90 days-3.8k -
173.5k
-
63.4k
-
proper_contrib 0.3.2
A collection of goodies for the property-based testing framework PropEr
93.4k last 90 days93.4k