Testing
Testing frameworks, mocking libraries, and test utilities beyond ExUnit. Packages among the 3,000 most downloaded in the past 90 days.
-
-
-
excoveralls 0.18.5
Coverage report tool for Elixir with coveralls.io integration.
-
ex_machina 2.8.0
A factory library by the creators of FactoryBot (née FactoryGirl)
-
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.
-
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.
-
-
-
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.
-
-
-
-
-
-
-
-
exvcr 0.17.1
HTTP request/response recording library for elixir, inspired by VCR.
-
-
-
-
assertions 0.21.0
Helpful functions with great error messages to help you write better tests.
-
-
-
-
-
assert_value 0.10.5
ExUnit's assert on steroids that writes and updates tests for you
-
-
mix_test_interactive 5.0.0
Interactive test runner for mix test with watch mode.
-
parameterized_test 0.6.0
A utility for defining eminently readable parameterized (or example-based) tests in ExUnit
-
telemetry_test 0.1.2
Simplify and reduce test clutter when testing Telemetry events
-
live_isolated_component 0.9.0
Simple library to test LV components live in isolation
-
-
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.
-
-
-
hound 1.1.1
Webdriver library for integration testing and browser automation
-
-
-
-
rebar3_codecov 0.7.0
Rebar3 plugin converting .coverdata files to codecov compatible JSON
-
phoenix_test_playwright 0.7.1
Execute PhoenixTest cases in an actual browser via Playwright.
-
-
-
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.
-
-
-
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.
-
-
-
-
-
-
-
-
bookish_spork 0.5.2
Library for stubbing and setting expectations on HTTP requests in Erlang
-
-
-
-
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.
-
ex_meck 0.3.0
A mocking library particularly suitable for stateful property based testing.
-
power_assert 0.3.0
Power Assert in Elixir. Shows evaluation results each expression.
-
efx 1.0.0
A library to declaratively write testable effects for asynchronous testing
-
-
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.
-
-
-
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.
-
-
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.
-
-
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.
-
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)
-
http_mock_pal 1.0.0
A convenience library to spawn plug router with your application for testing purposes
-
-
-
-
-
-
-
testcontainers 1.12.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.
-
-
a11y_audit 0.2.3
Automated accessibility testing for Elixir web applications using axe-core
-
-
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.
-
-
-
white_bread 4.5.0
Story BDD tool based on cucumber. Parses Gherkin formatted feature files and executes them as tests.
-
-
moxable 0.1.0
A simplified method for configuring modules to be mockable with Mox in Elixir projects.
-
-
-
-
-
-
quixir 0.9.3
A simple property-based testing framework written in pure Elixir.
-
-
-
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.
-
placebo 2.0.0
A mocking library for ExUnit inspired by RSpec and based on meck.
-
-
ex_unit_cluster 0.7.0
Spin up dynamic clusters in ExUnit tests with no special setup necessary.
-
-
-
mox_env 1.1.0
It's your application config but simply mocked with NimbleOwnership like Mox
-
example_test 0.0.1
A utility for defining eminently readable example-based tests in ExUnit
-
-
-
cucumber_messages 28.1.0
Elixir implementation of the cucumber messages protobuf schema
-
-
-
-
-
-
stubr 1.5.1
Stubr is a set of functions helping people to create stubs and spies in Elixir.
-
-
checkov 1.0.0
A parameterized testing library attempting to emulate the data driven testing of the [Spock Framework](http://spockframework.org/).
-
-
mecks_unit 0.1.9
A simple Elixir package to elegantly mock module functions within (asynchronous) ExUnit tests using Erlang's :meck library
-
-
behave_bdd 0.2.1
Behaviour driven development for ExUnit with product management friendly readable scenarios.
-
ex_snappy 0.5.1
Phoenix and LiveView visual regression testing tool for the GetSnappy platform
-
double_bypass 0.0.7
A wrapper around Bypass. Double Bypass makes configuring and initializing Bypass easy. It also removes redundant test assertion code, and ecourages testing external requests in a self documenting manner.
-
rebar3_autotest 0.1.1
A rebar3 plugin to run tests automatically when there are changes.
-
ex_unit_clustered_case 0.5.0
An extension for ExUnit for simplifying tests against a clustered application
-
-