def startDebug():
    """
    1. Open test case file
    2. Store ddmin result in a file for further use.
    """
    global testCase
    path  = 'testcases/ft.6'
    testCase = path.split('/')[-1]
    with open(path,'r') as command_file:
        commandList = command_file.readlines()
        ddminResult = a_ddmin_linux(commandList)
        with open('testcases/minSet_'+testCase,'w') as min_result:
            min_result.write(''.join(ddminResult))
            min_result.close()

    1. Open test case file
    2. Store ddmin result in a file for further use.
    
recipes/Python/578144_Delta_Debug__DDMin_/recipe-578144.py