Question: what is difference between mistake and defect?
Answer: Testing is the process of identifying defects, where a defect is any variance between actual and expected result . “A mistake in code is called Error . ” Error found by tester is called defect , Defect accepted by development team is called Bug . And build does not meet the requirements then it is Failure .