Thoughtworks interview question

Testing process in details and coding