Testing
Testing frameworks, mocking libraries, and test utilities beyond ExUnit. Packages among the 3,000 most downloaded in the past 90 days.
-
8291.4m
-
1.4k1.3m
-
excoveralls 0.18.5
Coverage report tool for Elixir with coveralls.io integration.
8591.1m last 90 days8591.1m -
ex_machina 2.8.0
A factory library by the creators of FactoryBot (née FactoryGirl)
2.0k802.8k last 90 days2.0k802.8k -
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.
112713.1k last 90 days112713.1k -
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.
687644.2k last 90 days687644.2k -
956460.2k
-
918447.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.
990340.7k last 90 days990340.7k -
543309.3k
-
587253.1k
-
212227.4k
-
40189.0k
-
76184.0k
-
41165.7k
-
94139.2k
-
exvcr 0.17.1
HTTP request/response recording library for elixir, inspired by VCR.
745137.7k last 90 days745137.7k -
902119.8k
-
15102.8k
-
1.8k94.5k
-
assertions 0.22.0
Helpful functions with great error messages to help you write better tests.
15288.3k last 90 days15288.3k -
3579.5k
-
2553.6k
-
7645.0k
-
mix_test_interactive 5.0.0
Interactive test runner for mix test with watch mode.
12841.3k last 90 days12841.3k -
13435.7k
-
2931.1k
-
1127.1k
-
telemetry_test 0.1.2
Simplify and reduce test clutter when testing Telemetry events
726.3k last 90 days726.3k -
3124.4k
-
live_isolated_component 0.10.0
Simple library to test LV components live in isolation
4224.1k last 90 days4224.1k -
13524.0k
-
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.
38923.8k last 90 days38923.8k -
23523.0k
-
parameterized_test 0.6.0
A utility for defining eminently readable parameterized (or example-based) tests in ExUnit
5922.6k last 90 days5922.6k -
assert_value 0.10.5
ExUnit's assert on steroids that writes and updates tests for you
10821.7k last 90 days10821.7k -
81521.3k
-
phoenix_test_playwright 0.9.1
Execute PhoenixTest cases in an actual browser via Playwright.
6920.4k last 90 days6920.4k -
hound 1.1.1
Webdriver library for integration testing and browser automation
1.4k20.3k last 90 days1.4k20.3k -
8919.0k
-
4916.3k
-
3815.9k
-
7215.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.
312.7k last 90 days312.7k -
012.4k
-
7112.1k
-
4912.0k
-
rebar3_codecov 0.7.0
Rebar3 plugin converting .coverdata files to codecov compatible JSON
1212.0k last 90 days1212.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.
9311.2k last 90 days9311.2k -
011.1k
-
1610.3k
-
ex_meck 0.3.0
A mocking library particularly suitable for stateful property based testing.
210.1k last 90 days210.1k -
a11y_audit 0.3.0
Automated accessibility testing for Elixir web applications using axe-core
588.7k last 90 days588.7k -
768.5k
-
08.3k
-
28.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.
108.0k last 90 days108.0k -
efx 1.0.1
A library to declaratively write testable effects for asynchronous testing
967.7k last 90 days967.7k -
1387.4k
-
ex_unit_summary 0.1.0
The library outputs test results to the console, which helps speed up the red-green test correction cycle (inspired by rspec)
137.3k last 90 days137.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.
727.0k last 90 days727.0k -
216.9k
-
http_mock_pal 1.0.0
A convenience library to spawn plug router with your application for testing purposes
26.9k last 90 days26.9k -
bookish_spork 0.5.2
Library for stubbing and setting expectations on HTTP requests in Erlang
826.6k last 90 days826.6k -
power_assert 0.3.0
Power Assert in Elixir. Shows evaluation results each expression.
2146.5k last 90 days2146.5k -
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.
86.3k last 90 days86.3k -
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.
496.3k last 90 days496.3k -
ex_unit_cluster 0.7.0
Spin up dynamic clusters in ExUnit tests with no special setup necessary.
16.0k last 90 days16.0k -
566.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.8k last 90 days2195.8k -
65.8k
-
35.7k
-
1535.4k
-
-4.9k
-
placebo 2.0.0
A mocking library for ExUnit inspired by RSpec and based on meck.
154.9k last 90 days154.9k -
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.8k last 90 days364.8k -
174.6k
-
white_bread 4.5.0
Story BDD tool based on cucumber. Parses Gherkin formatted feature files and executes them as tests.
2304.6k last 90 days2304.6k -
544.5k
-
33.8k
-
223.7k
-
-3.7k
-
1633.7k
-
13.7k
-
53.6k
-
23.6k
-
checkov 1.0.0
A parameterized testing library attempting to emulate the data driven testing of the [Spock Framework](http://spockframework.org/).
73.6k last 90 days73.6k -
683.5k
-
173.4k
-
testcontainers 1.13.4
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.
1423.1k last 90 days1423.1k -
03.1k
-
12.9k
-
-2.8k
-
-2.6k
-
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.
82.5k last 90 days82.5k -
moxable 0.2.0
A simplified method for configuring modules to be mockable with Mox in Elixir projects.
2.5k last 90 days-2.5k -
372.5k
-
cucumber_messages 31.0.0
Elixir implementation of the cucumber messages protobuf schema
332.4k last 90 days332.4k -
112.4k
-
2772.4k
-
42.2k
-
02.2k
-
82.2k
-
112.2k
-
862.0k
-
01.9k
-
361.9k
-
-1.9k
-
371.9k
-
1491.9k
-
861.8k
-
61.7k
-
example_test 0.0.1
A utility for defining eminently readable example-based tests in ExUnit
591.6k last 90 days591.6k -
11.6k
-
-1.6k
-
ex_snappy 0.5.1
Phoenix and LiveView visual regression testing tool for the GetSnappy platform
01.5k last 90 days01.5k -
231.5k
-
stubr 1.5.1
Stubr is a set of functions helping people to create stubs and spies in Elixir.
991.4k last 90 days991.4k -
61.4k
-
01.4k
-
51.4k
-
mecks_unit 0.1.9
A simple Elixir package to elegantly mock module functions within (asynchronous) ExUnit tests using Erlang's :meck library
541.3k last 90 days541.3k -
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.3k last 90 days-1.3k -
quixir 0.9.3
A simple property-based testing framework written in pure Elixir.
2671.3k last 90 days2671.3k