From: Nick H. <ni...@gr...> - 2018-02-20 15:38:04
|
On 20/02/18 08:09, Paul Smith wrote: > > Are the code coverage numbers coming out of the RunAllTests.py? The > Gramps Wiki seems to have very little info about how the numbers are > generated and what I need to do to improve them (write more tests, I > know but where ;-) ?). > The RunAllTests.py script is no longer used. All our current tests are written using the standard python unittest module and are run using Travis CI. https://docs.python.org/3.2/library/unittest.html https://travis-ci.org/ Code coverage is calculated by Codecov. https://codecov.io/ There is some unit test documentation here: https://www.gramps-project.org/wiki/index.php?title=Unit_Test_Quickstart The old documentation, and some notes on the conversion to using Travis CI, can be found here: https://www.gramps-project.org/wiki/index.php?title=Testing_Gramps Let us know if you need any help writing unit tests. Regards, Nick. |