🤔 What is unit test?
- Unit tests are codes verifying smallest unit of the system.
😊 Why write them?
- _It helps to verify the problem being solved. How?
- Simple. Once you break down the problems into smallest parts, it easier to verify the larger system built.
- _It improves software engineers improve their engineering skills. How?
- Fact: Testing smaller units are easier. This will make software engineers more confident on the codes they write.
- Fact: By understaning how the smallest units work, there is better understanding of the overall system.
- _It enhances the overall organization culture by improving the core engineering culture. How?
- Fact: Smallest units can be mapped to the domain of the business and the problem being solved at domain level.
- Test are the living document of the system. Maintained test help to knowledge transfer and onboarding process.
- Technical personal can relate to business domain as they are need to understand the smallest part.
- Developers can communicate well with technical as well as non-technical personnel.
- Domain familiarity enables technical leaders do better estimations and hence effective resource allocation.
📈 What is the value for the product?
- Fact: Time to reach the market is a critical factor to succed.
- The value of the system makes sense only it can be useful to the end users.
- With confidence in code, the entire product team can ship applications more frequently.
- New features reaching the market has an edge to get feedbacks and be innovative.
- Almost all of the organizations are internet driven. Many are transforming to a tech focused business.
- With technology advances, more business will be tech driven.The value will can be seen only when system adds it.
👨💻 About me I am a developer first tech consultant who helps to align business goals and technologies. Writing unit tests has helped me improve.