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: CONTRIBUTING.md
+2-28Lines changed: 2 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -286,6 +286,8 @@ Ensure that all `.env` files are saved in **UTF-8 format without BOM (Byte Order
286
286
287
287
1. **Load Initial Data**:
288
288
289
+
- Make sure you have `gzip` installed on your machine.
290
+
289
291
- Open a new terminal session and run the following command to populate the database with initial data from fixtures:
290
292
291
293
```bash
@@ -441,34 +443,6 @@ Follow these steps to setup your e2e testing environment:
441
443
442
444
**Please note that you only need to do these steps once.**
443
445
444
-
#### Updating e2e Test Data
445
-
446
-
If you need to update the e2e test data, follow these steps:
447
-
448
-
1. Delete the e2e db container from `Docker Desktop Dashboard` or with the following command:
449
-
450
-
```bash
451
-
docker rm -f e2e-nest-db
452
-
```
453
-
454
-
2. Delete the e2e db volume from `Docker Desktop Dashboard` or with the following command:
455
-
456
-
```bash
457
-
docker volume rm nest-e2e_e2e-db-data
458
-
```
459
-
460
-
3. Re-run the e2e backend instance with the following command:
461
-
462
-
```bash
463
-
make run-backend-e2e
464
-
```
465
-
466
-
4. Load the updated data into the e2e db with the following command (in another terminal session):
467
-
468
-
```bash
469
-
make load-data-e2e
470
-
```
471
-
472
446
### Test Coverage
473
447
474
448
- There is a **minimum test coverage requirement**for the **backend** code -- see [pyproject.toml](https://github.com/OWASP/Nest/blob/main/backend/pyproject.toml).
0 commit comments