ErillLab / collectf

CollecTF database implementation
http://www.collectf.org
5 stars 3 forks source link

Writing tests for CollecTF project #9

Closed sefakilic closed 9 years ago

sefakilic commented 9 years ago

One of the things that would be nice to have is tests for the entire CollecTF project.

Unfortunately, currently we don't have any unit or end-to-end testing at all! After any changes, we have to go and check the website manually, to make sure everything seems good. This is not convenient at all. More importantly, it is impossible to make sure that the new change doesn't break anything (we can't check everything manually).

It is a lot of work to write tests to cover most of the CollecTF but we should have this. Here is a nice book, Test-Driven Development with Python that goes over testing on web development using Django.