Testing a piece of code in isolation.
Confidence that your code does what you think it does.
Well tested code help you:-
- find bugs earlier
- Iterate faster
- debug more easily
- design better code
Where to start:-
- Pick a single, specific functionality to verify.
- Use available tools to get everything out of the way
- In an exiting codebase, do not try to write all the test at once
- write test as early as they can be valuable.
Satender Kumar Mall