In issue7685, you can see a proposal to include coverage reporting.
You can replace python setup.py test
by python -m trytond.tests.run-tests -m <module_name>
.
The doctest are scenario which uses proteus to mimic the behavior of the client. So it is higher level of testing. It is mainly used to test a complete workflow.