1. What is the difference between white-box and black-box testing?

 

White-box testing uses your knowledge of the code to create tests. It exercises lines of code that you know might have errors.

 

Black box testing assumes nothing about the code, but just tests inputs and outputs. It checks that a given set of inputs produces the correct output.

 

2. What is regression testing?

 

Regression testing checks to see if features that previously worked have stopped working. It goes back to re-test items that have already passed the tests.