You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-6Lines changed: 10 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,27 +3,31 @@
3
3
In this exercise you will work with your group to get to full code coverage and fix any bugs that you find.
4
4
5
5
## Setup
6
-
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.
6
+
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.
7
+
8
+
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".
9
+
10
+
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.
7
11
8
12
```bash
9
13
git clone ...
10
14
```
11
15
12
16
Use `ls` to confirm there's a new project folder
13
17
14
-
2. Move your location into this project folder
18
+
4. Move your location into this project folder
15
19
16
20
```bash
17
21
cd code-coverage-exercise
18
22
```
19
23
20
-
3. Create a virtual environment named `venv` for this project:
24
+
5. Create a virtual environment named `venv` for this project:
21
25
22
26
```bash
23
27
python3 -m venv venv
24
28
```
25
29
26
-
4. Activate this environment:
30
+
6. Activate this environment:
27
31
28
32
```bash
29
33
source venv/bin/activate
@@ -34,14 +38,14 @@ Verify that you're in a python3 virtual environment by running:
34
38
-`$ python --version` should output a Python 3 version
35
39
-`$ pip --version` should output that it is working with Python 3
36
40
37
-
5. Install dependencies once at the beginning of this exercise with
41
+
7. Install dependencies once at the beginning of this exercise with
38
42
39
43
```bash
40
44
# Must be in activated virtual environment
41
45
pip install -r requirements.txt
42
46
```
43
47
44
-
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.
48
+
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.
0 commit comments