Monday, 7 December 2020

Unit testing

 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.



Thank you!



Satender Kumar Mall
Twitter: @satenderiiit


No comments:

Post a Comment