Closed GMishx closed 6 years ago
Please explain what is a unified entry point.
A single python file to test every other module.
Like if I want to check/test CommentExtractor.py
I will call that file with a flag for testing CommentExtractor instead of calling the CommentExtractor.py
itself. Similarly for every other module.
So there will be no __main__
in any python file except that unified control file.
Just like you are using pariksha
to test 3 different modules, this file will help us to run every module from one place.
Also this entry will help to load the CSV only once to the memory and pass the object to different modules. Currently every module needs to load the CSV at every run.
Resolved with #30
Create a unified entry point for every file using command line arguments instead of adding
__main__
to every point. This will help in keeping code concise, easy to maintain and readable.