Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,31 @@
In this exercise you will work with your group to get to full code coverage and fix any bugs that you find.

## Setup
1. Clone a copy of this exercise. This command makes a new folder called `code-coverage-exercise`, and then puts the exercise into this new folder. You do not need to fork the repository.
1. On [Github](https://github.com/AdaGold/code-coverage-exercise), click on the "Fork" button in the top right corner and fork the repository to your Github account. This will make a copy of the project in your Github account.

2. On Github, add the other member(s) of your team as collaborators to _your fork_ of the repository. To do this the student who forked the repository should first choose "Settings" from the top menu bar (underneath the bar with the "Pin" button), then under the "Access" heading select "Collaborators", then under "Manage access" select "Add people".

3. Clone a copy of this exercise. This command makes a new folder called `code-coverage-exercise`, and then puts the exercise into this new folder.

```bash
git clone ...
```

Use `ls` to confirm there's a new project folder

2. Move your location into this project folder
4. Move your location into this project folder

```bash
cd code-coverage-exercise
```

3. Create a virtual environment named `venv` for this project:
5. Create a virtual environment named `venv` for this project:

```bash
python3 -m venv venv
```

4. Activate this environment:
6. Activate this environment:

```bash
source venv/bin/activate
Expand All @@ -34,14 +38,14 @@ Verify that you're in a python3 virtual environment by running:
- `$ python --version` should output a Python 3 version
- `$ pip --version` should output that it is working with Python 3

5. Install dependencies once at the beginning of this exercise with
7. Install dependencies once at the beginning of this exercise with

```bash
# Must be in activated virtual environment
pip install -r requirements.txt
```

6. Exit and re-enter the virtual enviornment with the following command. This is needed to ensure the correct version of pytest is used in the terminal.
8. Exit and re-enter the virtual enviornment with the following command. This is needed to ensure the correct version of pytest is used in the terminal.

```bash
deactivate && source venv/bin/activate
Expand Down