eproxus / meck

A mocking library for Erlang
http://eproxus.github.io/meck
Apache License 2.0
811 stars 231 forks source link

Mock parametrized modules #55

Closed shino closed 12 years ago

shino commented 12 years ago

This patch enables mocking of parametrized modules.

Change is made in backup of original modules. Parametrized modules should have module variables in their module attributes. Without these variables, we can not compile original forms.

eproxus commented 12 years ago

Great work! Perfect pull request with nice code and good tests. :-D

eproxus commented 12 years ago

Will close #4 once the tests pass on TravisCI (they fail right now because of some connectivity issue towards GitHub).

shino commented 12 years ago

Thank you for rapid merge!