00:01
Here in talking about the assignment that involves testing.
00:06
So, unit testing is a software unit testing is a software testing technique where individual units where individual units or components of program are tested to ensure they work correctly in isolation.
00:30
The goal is to validate that goal is to validate that each function of each unit behave as expected.
00:45
So, basically here each points in description you have provided it means like first function name and signature.
01:00
So, basically each function should have the correct name parameters and return time this is essential because it ensure that function is correctly defined and can be called with the expected arguments.
01:14
Second can be correct calculation and output.
01:24
So, the function should perform the intended calculations and return are correct value in some cases it also may be expected to print specific output this ensure that function does not what it supposed to do.
01:41
Third is unit testing the unit test are used to evaluate these functions individually these test cases are created to cover different scenarios and the functions are run with a specific input to check if they produce the expected output.
02:02
Fourth is isolation so that unit test should be designed to run function in isolation meaning that the external dependencies or factors don't influence the test result...