astropy / package-template

Template for packages that use Astropy. Maintainer: @astrofrog
http://docs.astropy.org/projects/package-template/en/latest/
Other
60 stars 62 forks source link

python setup.py test --coverage should show affiliated package coverage #25

Closed cdeil closed 10 years ago

cdeil commented 11 years ago

Running python setup.py test --coverage in an affiliated package shows the coverage of astropy. It should show the coverage of the affiliated package (at least that's what I wanted / expected).

eteq commented 11 years ago

@mdboom - I think you wrote most of the coverage stuff, right? I think the problem is in line 158 of astropy/tests/helper.py, where it selects a coveragerc directory based on the location of helper.py, rather than the place the tests are called from. Do you agree that's where the problem stems from?

mdboom commented 11 years ago

@eteq: I think that makes sense. I'm self-assigning, but may not get to this for a few days.

astrofrog commented 10 years ago

This still doesn't work (ran into it today). @mdboom - do you have any ideas since you assigned it to yourself?

mdboom commented 10 years ago

Sorry this has languished. I'm not in the habit of checking this repo for assignations. I should be able to get to this soon.