ga4gh/ga4gh-server

Increase Test Coverage

david4096 opened this issue · 0 comments

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.

  • ga4gh/server/auth/init.py over +20%
  • ga4gh/server/init.py over +20%
  • ga4gh/server/network/init.py +15%
  • ga4gh/server/datamodel/continuous.py + 15%
  • ga4gh/server/gff3.py + 10%
  • ga4gh/server/datamodel/genotype_phenotype.py + 10%

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