Re: Django Test Coverage

2015-05-28 Thread Gergely Polonkai
Hello, IMHO it is much better to see the coverage values for everything (even tests.py). Your actual case, for example, shows that only 98 lines are running from your 100 lines long tests.py. This may mean that there is a condition somewhere in your test cases that never evaluates to true. If you

Django Test Coverage

2015-05-28 Thread Dharmit Shah
Hello all, I have a django app which is full REST APIs created using Django Rest Framework. In tests.py, I am testing fthe APIs using self.client.post and self.clilent.get. I use coverage tool to figure out the test coverage but it seems to check the coverage in a way I don't really understand.

Re: django-test-coverage gcc error

2010-03-11 Thread Karen Tracey
On Thu, Mar 11, 2010 at 6:50 AM, filias wrote: > Thanks Karen, I am using ubuntu karmic. I will search for the package > that I need. > > On Ubuntu it's python-dev that you need. Karen -- You received this message because you are subscribed to the Google Groups "Django users" group. To post t

Re: django-test-coverage gcc error

2010-03-11 Thread filias
ilias wrote: > > > I am trying to use a test coverage tool for django. > > > > I triedhttp://pypi.python.org/pypi/django-test-coverage/0.1. First > > > with easy_install and after with setup.py install and I get the > > > following error stack: > > &g

Re: django-test-coverage gcc error

2010-03-11 Thread filias
Thanks Karen, I am using ubuntu karmic. I will search for the package that I need. On Mar 10, 4:34 pm, Karen Tracey wrote: > On Wed, Mar 10, 2010 at 11:13 AM, filias wrote: > > I am trying to use a test coverage tool for django. > > > I triedhttp://pypi.python.org/pypi/django

Re: django-test-coverage gcc error

2010-03-10 Thread Karen Tracey
On Wed, Mar 10, 2010 at 11:13 AM, filias wrote: > I am trying to use a test coverage tool for django. > > I tried http://pypi.python.org/pypi/django-test-coverage/0.1. First > with easy_install and after with setup.py install and I get the > following error stack: > > Sear

django-test-coverage gcc error

2010-03-10 Thread filias
I am trying to use a test coverage tool for django. I tried http://pypi.python.org/pypi/django-test-coverage/0.1. First with easy_install and after with setup.py install and I get the following error stack: Searching for django-test-coverage Best match: django-test-coverage 0.1 Processing

Django Test Coverage

2009-04-30 Thread George Song
I've decided to release the test coverage app I've been using on my projects as open source. I've packaged it as a third-party Django app for convenience. But the underlying components can be used independently from Django as well. <https://www.ohloh.net/p/django-test-cov