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
24,471
Last 7 days
1,488,064
All Time
18,076,528

Activity

Open Issues
2
Open PRs
1
Merged PRs
65

Releases

Latest Version
1.2.0
Last Update
August 14, 2024

meck

7.0

A mocking framework for Erlang

Popularity

Stargazers
794
Watchers
32
Forks
213

Downloads

Yesterday
22,340
Last 7 days
1,477,530
All Time
57,263,974

Activity

Open Issues
7
Open PRs
0
Merged PRs
86

Releases

Latest Version
1.0.0
Last Update
December 13, 2024

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,370
Last 7 days
845,994
All Time
15,449,612

Activity

Open Issues
17
Open PRs
0
Merged PRs
69

Releases

Latest Version
0.3.9
Last Update
December 16, 2024

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
1,748
Last 7 days
123,907
All Time
1,097,374

Activity

Open Issues
1
Open PRs
1
Merged PRs
33

Releases

Latest Version
2.3.3
Last Update
July 04, 2024

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