There are many articles written about why testing is important and required to be able to build/deploy production-ready applications. For example, they might save your hours of debugging or easier to refactor saving your company millions, etc.
All These reasons are true however in my opinion there is one fundamental reason that is even more important. When you have to write a Unit Test it makes you rethink not just “I hope this code works with your fingers crossed “. It forces you to think about.
Because even if you never ever run these tests you have just accomplished alot just by answering these questions
The system is loading will be back soon …………
I was asked to help build out functionality for a back-end developer so they could have a GUI or graphical user interface. This would enable non-technical employees to interact and update the DB.One point I made to the Project manager was that this “GUI” could live on the back-end server or it could be a file on a totally different server. The lesson I took from this before you start to code try to find out what will the production environment be ( many times this will change)
What is authorization and authentication, why is it important and some ways they can be hacked? Authentication is confirming you are who you claim to be, this is the typical login process. Where we match your input username and password against the DB if is correct Authorization is when we know who you are, but what rights or access do you have to this system are you an admin with full access pass or maybe you only have read rights.