The VT SailBOT team repository for the 2019-2020 school year.
The software design document detailing the system architecture can be found here.
-
Ensure that you have Git and a version of Python 3.5 installed on your computer by running
git --version
andpython3.5 --version
. If either command does not give you a version number, you do not have the respective software. -
Move to the directory where you would like to store your local copy of the code, and clone the repository by running
git clone [email protected]:vt-sailbot/sailbot-20.git
. -
On macOS or Linux, run
make init
. On Windows, openMakefile
and run each command underinit
separately. To compile withclang
instead ofgcc
(for Mac users), runmake init CC=clang
.
Any code pushed to this repository will automatically be subject to all existing test methods as well as any newly added tests.
To run tests locally before pushing, run make test
on macOS or Linux, or run each command under test
in Makefile
separately on Windows.
Test coverage should be as complete as is practical – for most classes, it should be 90% to 100%. Recall that robustness is our first design requirement.
To view test coverage, run coverage report
in the context of the p3_5env
virtual environment.