Testing
Testing frameworks, mocking libraries, and test utilities beyond ExUnit. Packages among the 3,000 most downloaded in the past 90 days.
-
8311.1m
-
1.4k1.0m
-
excoveralls 0.18.5
Coverage report tool for Elixir with coveralls.io integration.
859921.5k last 90 days859921.5k -
ex_machina 2.8.0
A factory library by the creators of FactoryBot (née FactoryGirl)
2.0k619.6k last 90 days2.0k619.6k -
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.
112590.5k last 90 days112590.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.
689488.9k last 90 days689488.9k -
957380.0k
-
926374.7k
-
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.
993277.5k last 90 days993277.5k -
548244.1k
-
587214.4k
-
214167.1k
-
76144.1k
-
94135.5k
-
41128.5k
-
41126.1k
-
exvcr 0.17.1
HTTP request/response recording library for elixir, inspired by VCR.
746103.3k last 90 days746103.3k -
90696.3k
-
3789.1k
-
1585.0k
-
1.8k81.0k
-
assertions 0.22.0
Helpful functions with great error messages to help you write better tests.
15267.5k last 90 days15267.5k -
2558.2k
-
mix_test_interactive 5.1.0
Interactive test runner for mix test with watch mode.
12835.0k last 90 days12835.0k -
7734.0k
-
13431.4k
-
2927.2k
-
telemetry_test 0.1.2
Simplify and reduce test clutter when testing Telemetry events
720.5k last 90 days720.5k -
23620.3k
-
parameterized_test 0.6.0
A utility for defining eminently readable parameterized (or example-based) tests in ExUnit
5919.8k last 90 days5919.8k -
assert_value 0.10.5
ExUnit's assert on steroids that writes and updates tests for you
10819.1k last 90 days10819.1k -
3119.0k
-
hound 1.1.1
Webdriver library for integration testing and browser automation
1.4k18.7k last 90 days1.4k18.7k -
81618.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.
39218.3k last 90 days39218.3k -
13518.0k
-
live_isolated_component 0.10.0
Simple library to test LV components live in isolation
4117.9k last 90 days4117.9k -
8915.6k
-
phoenix_test_playwright 0.10.0
Execute PhoenixTest cases in an actual browser via Playwright.
7414.7k last 90 days7414.7k -
1613.5k
-
7212.9k
-
5012.5k
-
rebar3_codecov 0.7.0
Rebar3 plugin converting .coverdata files to codecov compatible JSON
1211.9k last 90 days1211.9k -
3810.8k
-
210.7k
-
4910.6k
-
7110.2k
-
ex_meck 0.3.0
A mocking library particularly suitable for stateful property based testing.
210.1k last 90 days210.1k -
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.9k last 90 days39.9k -
119.7k
-
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.
938.6k last 90 days938.6k -
68.6k
-
08.2k
-
18.1k
-
1387.9k
-
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.
107.7k last 90 days107.7k -
efx 1.0.1
A library to declaratively write testable effects for asynchronous testing
967.5k last 90 days967.5k -
a11y_audit 0.3.1
Automated accessibility testing for Elixir web applications using axe-core
587.4k last 90 days587.4k -
1527.3k
-
06.6k
-
power_assert 0.3.0
Power Assert in Elixir. Shows evaluation results each expression.
2146.4k last 90 days2146.4k -
white_bread 4.5.0
Story BDD tool based on cucumber. Parses Gherkin formatted feature files and executes them as tests.
2306.3k last 90 days2306.3k -
766.1k
-
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 -
1716.1k
-
http_mock_pal 1.0.0
A convenience library to spawn plug router with your application for testing purposes
26.0k last 90 days26.0k -
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.7k last 90 days85.7k -
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.5k last 90 days495.5k -
ex_unit_cluster 0.7.0
Spin up dynamic clusters in ExUnit tests with no special setup necessary.
25.2k last 90 days25.2k -
585.0k
-
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.0k last 90 days2195.0k -
-4.8k
-
214.7k
-
34.6k
-
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.
364.4k last 90 days364.4k -
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 -
placebo 2.0.0
A mocking library for ExUnit inspired by RSpec and based on meck.
154.2k last 90 days154.2k -
174.1k
-
363.9k
-
testcontainers 1.13.5
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.
1473.9k last 90 days1473.9k -
03.9k
-
543.8k
-
223.7k
-
33.7k
-
checkov 1.0.0
A parameterized testing library attempting to emulate the data driven testing of the [Spock Framework](http://spockframework.org/).
73.3k last 90 days73.3k -
03.3k
-
63.3k
-
693.2k
-
-2.9k
-
-2.9k
-
02.9k
-
bookish_spork 0.5.2
Library for stubbing and setting expectations on HTTP requests in Erlang
822.8k last 90 days822.8k -
02.8k
-
-2.7k
-
22.6k
-
172.6k
-
862.5k
-
12.5k
-
62.4k
-
52.4k
-
1502.4k
-
122.3k
-
-2.3k
-
272.1k
-
372.0k
-
-2.0k
-
cucumber_messages 31.2.0
Elixir implementation of the cucumber messages protobuf schema
342.0k last 90 days342.0k -
11.9k
-
231.9k
-
861.8k
-
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.
81.8k last 90 days81.8k -
371.8k
-
81.8k
-
paper_tiger 0.9.21
A stateful mock Stripe server for testing Elixir applications
51.7k last 90 days51.7k -
11.7k
-
2881.7k
-
ex_snappy 0.5.1
Phoenix and LiveView visual regression testing tool for the GetSnappy platform
01.6k last 90 days01.6k -
111.6k
-
11.6k
-
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.
1.5k last 90 days-1.5k -
moxable 0.2.0
A simplified method for configuring modules to be mockable with Mox in Elixir projects.
1.5k last 90 days-1.5k -
smart_city_test 3.0.0
A library that contains test utilites used in the Smart City project
11.5k last 90 days11.5k -
991.4k
-
quixir 0.9.3
A simple property-based testing framework written in pure Elixir.
2671.4k last 90 days2671.4k -
qcheck_gleeunit_utils 1.0.0
Utility functions for working with Gleam's gleeunit test framework
11.4k last 90 days11.4k -
41.4k
-
example_test 0.0.1
A utility for defining eminently readable example-based tests in ExUnit
591.3k last 90 days591.3k