title: Python unit testing for long running functions
body: <p>I have a long running python method, this function will go inside folders and read all the documents and extract text. Number of output will not going to be a constant as it can change. This process might take from several hours to days. How to write a unit test for such a function, how to check whether its pass or fail as the number of output might change and it takes many hours</p>