Compugain interview question

when will you stop writing Testcases