- Python 3.9.x or later - Download from official site.
python3 -m pip install . --use-feature=in-tree-build
Run the command below to start using the program.
sgf
Follow the installation instructions for your operating system. Download link
conda env create -f env.yml
Run the command below at the root level of the project.
python3 -m coverage run -m unittest -b
This will run all test cases and generate a coverage report.
View coverage report results.
coverage report
To view report as a website with more details run:
coverage html
python3 -m http.server 5555 --directory ./htmlcov
NOTE: Only for development environment!
cd /project/root/directory
pip install . --use-feature=in-tree-build
Run the test.py
file in the root level of the project. This option will run the tests but not create a coverage report.
python3 test.py
conda env export --from-history | grep -v "^prefix: " > env.yml