![]() ![]() If you do override it, document thoroughly. Warnings must be addressed or suppressed.ĭon't issue or accept pull requests that significantly decrease coverage (less than 1% decrease is sort of tolerable).ĭon't override clone() unless you really know what you're doing. Although we have no specific coverage target, coverage should be extensive enough that if tests pass, the tool is guaranteed to be in a usable state.Īll newly written code must have good test coverage (>90%).Īll bug fixes must be accompanied by a regression test.Īll pull requests must be reviewed before merging to master (even documentation changes).ĭon't issue or accept pull requests that introduce warnings. Do not add any additional license text or accept files with a license included in them.Įach tool should have at least one good end-to-end integration test with a check for expected output, plus high-quality unit tests for all non-trivial utility methods/classes used by the tool. ![]() The license is in the top level LICENSE.TXT file. Managed using git lfs by running git lfs track on each new large file before commit. Larger test files should go into src/test/resources/large, and must be Try to keep datafiles under 100kb in size. General guidelines for Hellbender developersĭo not put private or restricted data into the repo. This will keep a gradle daemon running in the background and avoid the ~6s gradle start up time on every command. Note: for faster gradle operations, add =true to your ~/.gradle/gradle.properties file. To run the main program, run build/install/hellbender/bin/hellbender. (IntelliJ 14 has a good coverage tool that is preferable for development). The report is then in build/reports/jacoco/test/html/index.html. To run tests and compute coverage reports, run gradle jacocoTestReport. ![]() ![]() To run a single test class, run something like this, gradle test -Dtest.single=ReadUtilsUnitTest. If it's mandatory then it'll run only the cloud tests. What will happen depends on the value of the CLOUD environment variable: if it's false or unset then only local tests are run. Test report is in build/reports/tests/index.html. To build and run all tests, run gradle check. The public parts of the next generation of GATK/Picard methods engine and tools. Do not use this code for production work. This project is in an early stage of development. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |