Claude commited on
Commit
18225f3
·
unverified ·
1 Parent(s): 30d9456

Document how to run the new test suite

Browse files
Files changed (1) hide show
  1. README.md +13 -0
README.md CHANGED
@@ -13,3 +13,16 @@ pinned: true
13
  # `SERPent`
14
 
15
  `SERPent` provides a SERP / scrapping API for use by AI agents / projects.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  # `SERPent`
14
 
15
  `SERPent` provides a SERP / scrapping API for use by AI agents / projects.
16
+
17
+ ## Running tests
18
+
19
+ ```
20
+ pip install -r requirements.txt -r requirements-dev.txt
21
+ playwright install chromium # if not already present on the machine
22
+ pytest
23
+ ```
24
+
25
+ The suite mocks all outbound HTTP (via `respx`) and drives the Playwright-based
26
+ scrapers against local fixture HTML instead of live search engines - see
27
+ `tests/helpers.py` for how - so it runs fully offline and doesn't depend on,
28
+ or risk tripping, any site's anti-bot measures.