Netenrich Inc. interview question

pattern programming, when we do regression testing?