Amazon interview question

How do you implement test for application?