You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by gi...@git.apache.org on 2017/09/29 13:21:02 UTC

[GitHub] nickva commented on issue #848: Update meck to latest version 0.8.8

nickva commented on issue #848: Update meck to latest version 0.8.8
URL: https://github.com/apache/couchdb/pull/848#issuecomment-333124403
 
 
   I verified that latest meck fixes the cover issue, can now run cover on couch_replicator app.
   
   With master it results in this:
   
   ```
   couch_replicator_docs: check_convert_options_fail_test...ok
   [done in 0.012 s]
   module 'couch_replicator_doc_processor_worker'
   undefined
   *** context setup failed ***
   **in function meck_proc:set_expect/2 (src/meck_proc.erl, line 113)
   in call from meck:expect/4 (src/meck.erl, line 245)
   in call from couch_replicator_doc_processor_worker:setup/0 (src/couch_replicator_doc_processor_worker.erl, line 251)
   **error:{case_clause,
       {error,
           {compile_forms,
               {error,
                   [{"cover.erl",
                     [{75,erl_lint,{undefined_function,{compile_beam,2}}}]}],
                   []}}}}
   
   ```
   
   With meck 0.8.8
   
   ```
    [done in 38.750 s]
   =======================================================
     All 334 tests passed.
   Cover analysis: /Users/nvatama/asf/src/couch_replicator/.eunit/index.html
   
   Code Coverage:
   couch_replicator                               :  49%
   couch_replicator_api_wrap                      :  67%
   couch_replicator_app                           : 100%
   couch_replicator_attachments_too_large         : 100%
   couch_replicator_changes_reader                :  50%
   couch_replicator_clustering                    :  47%
   couch_replicator_compact_tests                 :  93%
   couch_replicator_connection                    :  80%
   couch_replicator_db_changes                    :  53%
   couch_replicator_doc_processor                 :  69%
   couch_replicator_doc_processor_worker          :  89%
   couch_replicator_docs                          :  56%
   couch_replicator_fabric                        :   0%
   couch_replicator_fabric_rpc                    :   0%
   couch_replicator_filtered_tests                : 100%
   couch_replicator_filters                       :  77%
   couch_replicator_httpc                         :  46%
   couch_replicator_httpc_pool                    :  80%
   couch_replicator_httpd                         :  12%
   couch_replicator_httpd_util                    :   0%
   couch_replicator_id_too_long_tests             : 100%
   couch_replicator_ids                           :  88%
   couch_replicator_job_sup                       :   0%
   couch_replicator_large_atts_tests              : 100%
   couch_replicator_manager                       :  50%
   couch_replicator_many_leaves_tests             : 100%
   couch_replicator_missing_stubs_tests           : 100%
   couch_replicator_modules_load_tests            : 100%
   couch_replicator_notifier                      :  66%
   couch_replicator_proxy_tests                   : 100%
   couch_replicator_rate_limiter                  :  67%
   couch_replicator_rate_limiter_tables           :  87%
   couch_replicator_scheduler                     :  78%
   couch_replicator_scheduler_job                 :  63%
   couch_replicator_scheduler_sup                 : 100%
   couch_replicator_selector_tests                : 100%
   couch_replicator_small_max_request_size_target :  96%
   couch_replicator_stats                         :  92%
   couch_replicator_sup                           : 100%
   couch_replicator_test_helper                   :  98%
   couch_replicator_use_checkpoints_tests         :  95%
   couch_replicator_utils                         :  80%
   couch_replicator_worker                        :  85%
   json_stream_parse                              :  47%
   
   Total                                          : 70%
   ==> rel (eunit)
   ==> asf (eunit)
   ```
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services