![]() I recommend closing this.Īs there have been no replies to msg213358 can someone close this please. Indeed, the devguide documents how to use coverage.py, and there is even a pure-stdlib solution with regrtest. do we need an internal tool for cpython coverage? It uses Ned's coverege.py and has a lot of details about how to use it and how to generate nice reports out of it. These are the top rated real world Python examples of bittenbuildpythontools.figleaf extracted from open source projects. The devguide reports a long section about code convering cpython. Neither will be required if you agree to 2 and 3 :)Īdding people interested in code coverage to nosy. I’d prefer just having an optional dependency on it and letting the user install it if they want.ġ) There is already a popular (I think) module named coverage, please use another name.ġ.1) How does figleaf compare with coverage?Ģ) Please use tarfile instead of running tar (not always available).ģ) Please use the Python API instead of running subprocesses.Ĥ) subprocess is recommended over os.system. python -m test.regrtest) would allow running from build dir.Ĭoverage reports are nice, but I personally dislike the idea of code downloading something via HTTP and running it. IIUC, using runpy (either from Python or in a subprocess i.e. Re-attaching the coverage bootstrapping file as plain/text. Test_csv was run and passed, but there is no html file in the coverageĭirectory with "csv" in its name after figleaf2html is run. I prefer not to pollute myĪuthor: Skip Montanaro (skip.montanaro) * IOError: No such file or directory: '././Lib/test/regrtest.py'ĬANNOT OPEN: HTML output written to. "/Users/skip/src/python/trunk/build/figleaf-latest/figleaf/_init_.py", ![]() > element off and then passing it off to regrtest.py. > I'm not actually parsing the command line, just chopping the first > * Optparse isn't used, partially because I'm lazy and partly because It should be good enough for the first cut. It seems to work fine doing it all in one read()Īt 69kb, nah. I'm not actually parsing the command line, just chopping the firstĮlement off and then passing it off to regrtest.py. * Optparse isn't used, partially because I'm lazy and partly because It seems to work fine doing it all in one read() * Can you change `cat file` to read the file and pass those as * How big is figleaf? Should you try to read/write the file in chunks? * This won't work on unix other than OSX. Here are some things I noticed while reviewing the patch: It would be nice to get more instrumentation like On the command line will be supplied to regrtest. The script will download figleaf, then run regrtest.py. Unzip the zipfile in the base python directory. This issue adds support for figleaf unit test coverage information. ![]() Tools/coverage directory containing files BreamoreBoy, ajaksu2, eric.araujo, giampaolo.rodola, utter, ncoghlan, nnorwitz, sandro.tosiĬreated on 19:42 by utter, last changed 14:56 by admin.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |