Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add parallel-tests instructions #1358

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
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
6 changes: 6 additions & 0 deletions docs/how-to-develop-scraper.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@
```
This will run all the tests for all the scrapers. You should not see any errors or failures.

**OPTIONAL: To run the full test suite in parallel**

Check notice on line 55 in docs/how-to-develop-scraper.md

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

docs/how-to-develop-scraper.md#L55

Emphasis used instead of a heading
```shell
$ pip install unittest-parallel

Check notice on line 57 in docs/how-to-develop-scraper.md

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

docs/how-to-develop-scraper.md#L57

Dollar signs used before commands without showing output
$ unittest-parallel --level test

Check notice on line 58 in docs/how-to-develop-scraper.md

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

docs/how-to-develop-scraper.md#L58

Dollar signs used before commands without showing output
```

## 3. Identify a recipe and generate the scraper and test file

To develop the scraper for the website, first identify a recipe. This will be used to create the test case that will validate that the scraper is working correctly.
Expand Down
Loading