Latest post
Ratnadeep Debnath |
01 November 2011
| contribute, coverage, django, django-nose, hack, ratnadeep debnath, start test, tests, transifex, unittest, rtnpro
How do you setup Transifex? Here is all you need to know to setup Transifex: http://help.transifex.net/server/install.html http://fosswithme.wordpress.com/2011/10/20/setup-transifex-in-virtualenv/ is another good write-up on how to setup and run Transifex in virtualenv. So, I’d be building on top of that to show you ...
Continue reading ➞
Ratnadeep Debnath |
22 September 2011
| coverage, coverage.py, django, python, ratnadeep debnath, test, rtnpro
Coverage.py is a tool for measuring code coverage of Python programs. It monitors your program, noting which parts of the code have been executed, then analyzes the source to identify code that could have been executed but was not. Coverage measurement is typically used to gauge the effectiveness of tests. It can show which ...
Continue reading ➞
Ratnadeep Debnath |
12 June 2011
| coverage, django, django code coverage, django-test-coverage, python, ratnadeep debnath, unittest, rtnpro
Just writing tests for your Django codebase is not enough. You need to check how much of the code is covered in your tests. For this, there are some tools available. Again, it is not just the number of lines of code tested that matters. What matters is “Are these lines important?”. Well, for this, ...
Continue reading ➞