Iterates over an executable object to see if it worked and do something if it did before its output is cleaned up.

Method __init__ Undocumented
Method run Undocumented
Method fail Undocumented
Method beforeFile No summary
Method afterFile No summary
Method producesFileAndResult No summary
def __init__(self, testcase, executable, *args, **kw):
Undocumented
def run(self, fileName):
Undocumented
def fail(self):
Undocumented
def beforeFile(self, fileName):

Here is the use case:

 for result in r.beforeFile('foo.pdf'):
     <do something before checking for and deleting produced>
     <file 'filePath'>
 <file is now deleted>
def afterFile(self, fileName):

Here is the use case:

 for filePath in r.afterFile('foo.pdf'):
     <do something with produced file 'filePath'>
 <file is now deleted>
def producesFileAndResult(self, fileName):

Here is the use case:

 for filePath, result in r.producesFile('foo.pdf'):
     <do something with produced file 'filePath'>
 <file is now deleted>
API Documentation for logalyzer, generated by pydoctor at 2021-09-18 08:41:09.