IITH / alumni-portal

Alumni portal for IIT Hyderabad
12 stars 11 forks source link

Following the Test Driven Development process. #21

Open chirag200666 opened 9 years ago

chirag200666 commented 9 years ago

The various testing tools available for testing django like Selenium, django-debug-toolbar, django test.py, etc , have to be evaluated and the best suited for the project has to chosen. After which the project should follow the TDD principals .

ajayaa commented 9 years ago

When we talk about test-driven development there are two parts to it.

Functional testing is going to be done by Selenium. The unit tests are going to be written by sub-classing unittest module in python or testtools module. If there is any wrapper which Django provides around unittest that would be helpful.

Also if you can find any other library for testing which is better than above mentioned ones and has tighter integration with django then we can use that as well.

django-debug-toolbar is for printing debug information about various components of your application. From what I could understand it is not useful in test driven development in any way.