This repo contains starter code for test coverage exercises. Follow the instructions in the class website to get started.
The exercise has been testing with the following Python versions: 3.7, 3.8.1, 3.9.5, 3.9.6, 3.9.7 and 3.10.10
Sometimes it is useful to upgrade pip before installing dependencies. If you like, run: pip install --upgrade pip and later install the dependencies using: pip install -r requirements.txt
-
It is a good practice to configure python virtual environment. Use the commands below to setup python virtual environment on
Linux/MacOSorWindows OS# For Linux/MacOS python3 -m venv venv source venv/bin/activateNB: Replace
python3with any of the versions listed above e.g:python3.7orpython3.9.5.- For
Window OSuser, the easest approach is to installvirtualenvby runningpip install virtualenv. The next step is pretty much similar to above;
# For Window OS python3 -m virtualenv venv venv\Scripts\activate- Install required dependencies using
pip3 install -r requirements.txt
- For