Mocks and Stubs

Packages that helps with Mocking and Stubbing in tests

mox

8.9

Mocks and explicit contracts for Elixir

Popularity

Stargazers
1,244
Watchers
19
Forks
67

Downloads

Yesterday
2,210
Last 7 days
1,424,569
All Time
13,886,903

Activity

Open Issues
2
Open PRs
1
Merged PRs
65

Releases

Latest Version
1.1.0
Last Update
September 20, 2023

meck

7.0

A mocking framework for Erlang

Popularity

Stargazers
794
Watchers
32
Forks
213

Downloads

Yesterday
3,422
Last 7 days
1,500,495
All Time
50,988,480

Activity

Open Issues
7
Open PRs
0
Merged PRs
86

Releases

Latest Version
0.9.2
Last Update
March 29, 2021

mock

4.7

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.

Popularity

Stargazers
616
Watchers
11
Forks
78

Downloads

Yesterday
1,647
Last 7 days
817,231
All Time
11,983,019

Activity

Open Issues
17
Open PRs
0
Merged PRs
69

Releases

Latest Version
0.3.8
Last Update
June 17, 2023

hammox

3.8

Automated contract testing for functions and mocks.

Popularity

Stargazers
536
Watchers
3
Forks
25

Downloads

Yesterday
270
Last 7 days
207,945
All Time
1,496,083

Activity

Open Issues
9
Open PRs
5
Merged PRs
81

Releases

Latest Version
0.7.0
Last Update
July 24, 2022

mockery

0.7

Simple mocking library for asynchronous testing.

Popularity

Stargazers
89
Watchers
3
Forks
10

Downloads

Yesterday
164
Last 7 days
113,421
All Time
813,800

Activity

Open Issues
1
Open PRs
1
Merged PRs
33

Releases

Latest Version
2.3.1
Last Update
December 30, 2019

mecks_unit

0.4

A simple Elixir package to elegantly mock module functions within (asynchronous) ExUnit tests using Erlang's :meck library

Popularity

Stargazers
54
Watchers
7
Forks
6

Downloads

Yesterday
0
Last 7 days
4,142
All Time
49,355

Activity

Open Issues
1
Open PRs
0
Merged PRs
0

Releases

Latest Version
0.1.9
Last Update
April 19, 2020

em

0.2

An EasyMock inspired mocking library for erlang.

Popularity

Stargazers
23
Watchers
4
Forks
8

Downloads

Yesterday
2
Last 7 days
832
All Time
17,551

Activity

Open Issues
1
Open PRs
0
Merged PRs
7

Releases

Latest Version
7.3.0
Last Update
March 28, 2023

placebo

0.1

A mocking library for ExUnit inspired by RSpec and based on meck.

Popularity

Stargazers
15
Watchers
3
Forks
1

Downloads

Yesterday
14
Last 7 days
4,464
All Time
132,744

Activity

Open Issues
0
Open PRs
0
Merged PRs
18

Releases

Latest Version
2.0.0
Last Update
December 05, 2020

ex_meck

0.0

A mocking library particularly suitable for stateful property based testing.

Popularity

Stargazers
2
Watchers
1
Forks
4

Downloads

Yesterday
214
Last 7 days
45,875
All Time
580,863

Activity

Open Issues
0
Open PRs
0
Merged PRs
5

Releases

Latest Version
0.3.0
Last Update
December 01, 2019

ex_mock

0.0

A mocking libary 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.

Popularity

Stargazers
1
Watchers
2
Forks
0

Downloads

Yesterday
6
Last 7 days
1,320
All Time
42,242

Activity

Open Issues
0
Open PRs
0
Merged PRs
0

Releases

Latest Version
0.1.1
Last Update
June 01, 2017