patch | meck | |
---|---|---|
1 | 1 | |
181 | 808 | |
- | - | |
5.5 | 4.9 | |
3 months ago | 3 months ago | |
Elixir | Erlang | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
patch
-
How private are Erlang private functions?
Here’s a testing library that exposes private functions for testing. https://github.com/ihumanable/patch
Whether it’s a good idea to test private functions is a whole different issue…
meck
-
An Introduction to Mocking Tools for Elixir
Mock is the first result you will see when searching “Elixir Mock”, and is a wrapper around Erlang’s meck that provides easy mocking macros for Elixir.
What are some alternatives?
mox - Mocks and explicit contracts in Elixir
mock - Mocking library for Elixir language
ex_machina - Create test data for Elixir applications
wallaby - Concurrent browser tests for your Elixir web apps.
hound - Elixir library for writing integration tests and browser automation
ExVCR - HTTP request/response recording library for elixir, inspired by VCR.
ecto_it - Ecto plugin with default configuration for repos for testing different ecto plugins with databases
ElixirMock - Creates clean, concurrent, inspectable mocks from elixir modules
faker - Faker is a pure Elixir library for generating fake data.
proper - PropEr: a QuickCheck-inspired property-based testing tool for Erlang