Skip to content

Commit 89f19ea

Browse files
authored
test: improve test coverage from 0% to 99% (#11)
Rewrite test suite with 68 tests covering all 4 source modules. Mock Selenium, Playwright, and undetected_chromedriver at import level so tests run without heavy browser dependencies. Cover __main__ blocks via runpy. Add requests to test dependencies.
1 parent cfca71b commit 89f19ea

2 files changed

Lines changed: 1051 additions & 8 deletions

File tree

requirements-test.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ pytest>=7.0
22
pytest-cov>=4.0
33
beautifulsoup4
44
lxml
5+
requests

0 commit comments

Comments
 (0)