Morgan Stanley interview question

What is test-driven programming? How did you test your application? What is the unit/integration testing? Automation testing? Why use an automation test?