Github user jaydoane commented on the pull request:
https://github.com/apache/couchdb-config/pull/7#issuecomment-153901692
@kxepal, I've cleaned up the code and added some comments. Please let me
know if this is or is not an acceptable solution.
If not, another approach could be to factor this code:
https://github.com/apache/couchdb-couch-log/blob/master/src/couch_log.erl#L121-L141
into a utility module, and use it more widely to mock log and stats calls.
We could presumably eliminate all dependencies but config, and likely speed up
tests, etc.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---