Python 3.5+, pip3
- Move to
<project-dir>
, create virtual environment and then activate it as
$ cd <project-dir>
$ virtualenv -p python3 .env
$ source .env/bin/activate
- Add project to
PYTHONPATH
as
$ export PYTHONPATH="$PYTHONPATH:." # . corresponds to current directory(project-dir)
- Then run test cases as
$ python -m unittest discover -s 'tests' -p '*.py'
- Then run the application
run.py
as
$ python run.py
Note: Input parameters can be changed under run.py
file.