Question: q2. what is the difference between black box and white box testing?
Answer: Black Box testing has the main goal to test the behavior of the software whereas White Box testing has the main goal to test the internal operation of the system. Black Box testing is focused on external or end-user perspective whereas White Box testing is focused on code structure, conditions, paths and branches.