ga4gh / ga4gh-server

Reference implementation of the APIs defined in ga4gh-schemas. RETIRED 2018-01-24
http://ga4gh.org
Apache License 2.0
96 stars 91 forks source link

Increase Test Coverage #1618

Open david4096 opened 7 years ago

david4096 commented 7 years ago

All of these files are under the minimum test coverage.

ga4gh/server/cli/configtest.py 40 0 0 40 0.00%
ga4gh/server/configtest.py 24 0 0 24 0.00%
ga4gh/server/datamodel/obo_parser.py 403 135 12 256 33.49%
ga4gh/server/auth/init.py 108 70 7 31 64.81%
ga4gh/server/repo/rnaseq2ga.py 170 112 16 42 65.88%
ga4gh/server/init.py 6 4 0 2 66.66%
ga4gh/server/cli/server.py 30 21 0 9 70.00%
ga4gh/server/network/init.py 37 26 3 8 70.27%
ga4gh/server/datamodel/continuous.py 202 143 13 46 70.79%
ga4gh/server/gff3.py 142 108 7 27 76.05%
ga4gh/server/datamodel/genotype_phenotype.py 313 239 18 56 76.35%

Ignore configtest, which is itself a part of the test apparatus. I believe that rnaseq2ga will be rewritten, I don't think we should increase coverage there yet. But the network, continuous, gff3, and g2p code all should be able to come up over 85% pretty easily.

Also, I found this really useful for making tables in markdown https://donatstudios.com/CsvToMarkdownTable https://github.com/donatj/CsvToMarkdownTablez