Hello, I'm trying to get statement-level code coverage numbers for my pylons app while running tests outside of nose (user, integration and load tests). I've tried using python-coverage and figleaf without success. Neither tool seems to be able to track statements within my application. python-coverage tells me that 0% of the lines in my app were executed while figleaf only provides coverage numbers for the standard library and Pylons library code.
I ran coverage (from within my virtualenv) as: $ source bin/activate $ python bin/coverage.py -x bin/paster serve --reload development.ini I ran figleaf (also within my virtualenv) as: $ source bin/activate $ easy_install http://darcs.idyll.org/~t/projects/figleaf-latest.tar.gz $ figleaf bin/paster serve --reload development.ini The paste http server runs fine and my tests are all successful, I just don't get any useful coverage numbers out. If anyone has had more success, I'd appreciate a pointer to an example or perhaps a discussion of how to get it to work in pylons. I have a feeling that I'll need to write some scaffolding to instantiate my app and run it without using paster, similar to how the functional tests are run. Thanks in advance. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
