-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 1. Install the coverage plugin for nosetests:
easy_install coverage 2. When you run the test suite with nosetests, pass in the following flags: - --with-coverage --cover-html --cover-package pulp --cover-erase A quick explanation: - --with-coverage - actually does the coverage checking - --cover-html - generate HTML pages instead of just the console output - --cover-package pulp - says to only generate coverage numbers for the pulp project; if not you get a lot more fluff in the output - --cover-erase - erase the previously generated reports if they exist That'll put them in a directory called "cover" which I think is in "unit" (it may be your cwd if you run with -w). - -- Jay Dobies RHCE# 805008743336126 Freenode: jdob http://pulpproject.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJNvtExAAoJEOMmcTqOSQHC0vgIAJecjIU3/PVWvb70SP3o2uDo pN/YMpEodemQT7InWadCTnLCj+1ebV9auHxxKK9dIUeVUzGEAQDNk+2XZoZzHOUk C039RSPh0q9s8FyJtp+cnV+MC/cWjTF2l4dqunwn/HaX9kT37hCTULmtzmRzCQxs 0GaUfuuUA1y6h8kfM9beO9aWxfNw+D6195Ew45QOpGnR56xK3D119pFZ0At59qH7 9WeY4QooblMlRCel6GHzxU33ORO+LsSOnMKMmNPEYplHdQKgfxCsFitIZEDBOTqe CDJr8qCjzkJJFW56gxKNt745ZziCpGXTSW1ByJUmZ+3WQBZAj3xYC54H0Tv2eEc= =GnYx -----END PGP SIGNATURE----- _______________________________________________ Pulp-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/pulp-list
