-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Django in Production
By :

All of us developers love to write code and build systems and applications. All of us hate attending meetings. Another thing most developers hate is writing tests. We all have been there. When I started my career, and whenever I was asked by my senior/mentor to write test cases for code, I would dread the thought. It would take almost double the time to write test cases for the code than it took to build the feature.
But tests are a necessary evil, and now that I am a senior engineer building dozens of scalable systems, I always prefer to write tests for any project I work on. This gives me the confidence to ship my code to production without the fear of breaking the existing system, and this helps in the faster shipping of features.
When we build new features, we always test the code manually. For example, if I had to write code to find out whether a number is prime or not, I would write the code and then pass...