You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by chewbranca <gi...@git.apache.org> on 2014/07/03 00:19:31 UTC

[GitHub] couchdb pull request: Replace etap tests with eunit

Github user chewbranca commented on a diff in the pull request:

    https://github.com/apache/couchdb/pull/253#discussion_r14487516
  
    --- Diff: src/couch_mrview/test/couch_mrview_all_docs_tests.erl ---
    @@ -13,26 +10,62 @@
     % License for the specific language governing permissions and limitations under
     % the License.
     
    -main(_) ->
    -    test_util:run(6, fun() -> test() end).
    +-module(couch_mrview_all_docs_tests).
    +
    +-include("couch_eunit.hrl").
    +-include_lib("couchdb/couch_db.hrl").
    +
    +-define(ADMIN_USER, {user_ctx, #user_ctx{roles=[<<"_admin">>]}}).
    --- End diff --
    
    This should be in a test include file like `couch_mrview`: https://github.com/apache/couchdb/blob/master/src/couch_mrview/src/couch_mrview_test_util.erl#L18


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---