Skip to content

Commit

Permalink
Document problematic modules
Browse files Browse the repository at this point in the history
Fix #135, fix #59
  • Loading branch information
eproxus committed Feb 2, 2015
1 parent fd1c793 commit 98cdc40
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,21 @@ environment variable.

<a name='contribute'>

Caveats
-------

Meck will have trouble mocking certain modules since Meck works by
recompiling and reloading modules. Since Erlang have a flat module
namespace, replacing a module has to be done globally in the
Erlang VM. This means certain modules cannot be mocked. The
following is a non-exhaustive list of modules that can either be
problematic to mock or not possible at all:

* `erlang`
* `os`
* `crypto`
* `compile`

Contribute
----------

Expand Down

0 comments on commit 98cdc40

Please sign in to comment.