generate test case and data by default or upload file