couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chewbranca <>
Subject [GitHub] couchdb pull request: Replace etap tests with eunit
Date Wed, 02 Jul 2014 22:27:49 GMT
Github user chewbranca commented on a diff in the pull request:
    --- Diff: src/couch_mrview/test/couch_mrview_all_docs_tests.erl ---
    @@ -48,10 +81,9 @@ test_basic(Db) ->
             mk_row(<<"9">>, <<"1-558c8487d9aee25399a91b5d31d90fe2">>),
             mk_row(<<"_design/bar">>, <<"1-a44e1dd1994a7717bf89c894ebd1f081">>)
    -    etap:is(Result, Expect, "Simple view query worked.").
    +    ?_assertEqual(Expect, Result).
    -test_range(Db) ->
    +should_query_with_range(Db) ->
    --- End diff --
    I'm partial to ending function names with a `_` to indicate they return eunit generators.

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

View raw message