Description
Is your feature request related to a problem? Please describe.
The feedback was received from the PR: #238
According to the feedback, the idea is to divide the whole file into smaller files which will make easier the maintenance, and bug fixing of any issues found in this file.
Describe the solution you'd like
Move the logic from the tests/run_all_tests.py file to several files which contain the logic divided by type of testing: Non remote unit tests (C++), Remote unit tests (C++), Non Remote Python tests, and Remote Python tests. Also, the functions related to the parsing of the arguments received by the command could go to another separate file.
Note: Please take into account that moving the files from the tests directory could affect to the hardcoded paths found in the tests files due those paths are relatives to tests directory. To fix that you could add a new attribute in the VDMS config file which specifies the absolute path where the tests directory is, then call to the corresponding getter function to read that value in the tests files and concatenate that value to the relative path for the videos and images paths.
Also, remember that for loading the Python module files from other paths which are away from the main script, you need to add the path to the environment variable called "PYTHONPATH" that way the Python files will be found by the Python interpreter.