stevedlawrence commented on a change in pull request #184: Added sbt-scoverage code coverage reporting URL: https://github.com/apache/incubator-daffodil/pull/184#discussion_r257256938
########## File path: README.md ########## @@ -74,6 +74,16 @@ This following command generates an [Apache RAT](https://creadur.apache.org/rat/ $ sbt ratCheck ``` +### sbt-scoverage + +This follow commands generate an [sbt-scoverage](https://github.com/scoverage/sbt-scoverage) test coverage report that will be located in ``target/scala-ver/scoverage-report/``. + +```bash +$ sbt clean coverage test it:test +$ sbt coverageReport +$ sbt coverageAggregate +``` + Review comment: This will be really nice! Super easy to generate reports. Can you also modify the .travis.yml file to add the coverage commands and upload the reports to codecov.io? According to this example, it only takes a couple extra lines: https://github.com/codecov/example-scala/blob/master/.travis.yml ---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
