GitHub user nickva opened a pull request:
https://github.com/apache/couchdb-couch-log/pull/8
Create a custom logging backend for unit tests.
* Disables logging of anything below error level.
* Backend is enabled automatically if running in test mode.
* For couch_log's own tests, use mocking in order to bypass testing mode.
* For mocking to work with couch_log tests, move tests to
a separate tests/ folder.
COUCHDB-2855
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cloudant/couchdb-couch-log
2855-custom-test-logger-backend
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-couch-log/pull/8.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #8
----
commit cc808a45d1a021281ac057630e311fcb4d1d3ed5
Author: Nick Vatamaniuc <[email protected]>
Date: 2015-10-14T15:53:54Z
Create a custom logging backend for unit tests.
* Disables logging of anything below error level.
* Backend is enabled automatically if running in test mode.
* For couch_log's own tests, use mocking in order to bypass testing mode.
* For mocking to work with couch_log tests, move tests to
a separate tests/ folder.
COUCHDB-2855
----
---
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.
---