Amazon Interview Question

How do you implement test for application?