install python for the respective OS at https://www.python.org/downloads/ Make sure to update the path variable to point to the python installation folder.
get get-pip.py from below link to your folder https://bootstrap.pypa.io/get-pip.py Open a command prompt and navigate to the folder containing get-pip.py. Run the following command:
pip install -U pylint
pip install mutmut
pip install pytest
pip install unittest
Make sure the tools are also available in your editor (mine is visual studio code), editor is your choice https://code.visualstudio.com/download (choose defaults)
Install jscpd: install node from https://nodejs.org/en/download/ npm install -g jscpd make sure package is available npm list -g --depth=0 for details: https://www.npmjs.com/package/jscpd
JSCPD for edittor: https://marketplace.visualstudio.com/items?itemName=paulhoughton.vscode-jscpd
$pyfiles = Get-ChildItem -Path .\ -Filter *.py -Recurse -File -Name pylint -E $pyfiles
jscpd -r "html" -o "repo_location" "report_location"
pytest -v -s
pytest --cov-report html --cov="code_path"
python -m unittest -v coverage run fine_name coverage html
python -m pydoc -w module_name
mutmut run mutmut show
behave --no-capture reporting: behave -f allure_behave.formatter:AllureFormatter -o .\report\ ./features
allure serve C:\Projects\PythonRepo\python_sample\anagram\results