You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2023/01/08 00:00:35 UTC

[GitHub] [couchdb-rebar] jaydoane opened a new pull request, #6: Relax ANNO limitation in test coverage utils

jaydoane opened a new pull request, #6:
URL: https://github.com/apache/couchdb-rebar/pull/6

   Currently the code to determine whether a particular file attribute ("header") exists assumes an ANNO format of a single line number, but versions of OTP > 23 return a tuple, so that pattern will never match, resulting in coverage failing to account for the inclusion of the `eunit.hrl` file, and then incorrectly calculating the coverage of the test module as 66%, rather than the expected 100%.
   
   This change relaxes the pattern so that it will also match tuples, and fixes the eunit coverage test.
   
   ```
   make test_eunit
   ```
   should now pass on OTP version >= 23.
   
   See also: https://github.com/apache/couchdb-rebar/pull/5


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [couchdb-rebar] jaydoane merged pull request #6: Relax ANNO limitation in test coverage utils

Posted by GitBox <gi...@apache.org>.
jaydoane merged PR #6:
URL: https://github.com/apache/couchdb-rebar/pull/6


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org