Parent epic for improving test coverage across the project.
Current state
The core library types (Node, Nodes, Cookie, CookieJar, Readability, DeferClose) have good unit test coverage with mock implementations. However, all site-specific extractors (duckduckgo, google, powerball, megamillions, wegmans, aislegopher, archive, useragents) have no meaningful tests because they require a live browser.
Scope
Add mock-based unit tests for site extractors where possible
Add integration test framework
Test error paths in browser initialization
Sub-tasks
Will be linked as they are created.
Parent epic for improving test coverage across the project.
## Current state
The core library types (Node, Nodes, Cookie, CookieJar, Readability, DeferClose) have good unit test coverage with mock implementations. However, all site-specific extractors (duckduckgo, google, powerball, megamillions, wegmans, aislegopher, archive, useragents) have no meaningful tests because they require a live browser.
## Scope
- Add mock-based unit tests for site extractors where possible
- Add integration test framework
- Test error paths in browser initialization
## Sub-tasks
Will be linked as they are created.
Resolved by PR #43 — added extractortest package with exported mock implementations and HTML fixture-based tests for multiple extractors.
Closing this epic.
Resolved by PR #43 — added `extractortest` package with exported mock implementations and HTML fixture-based tests for multiple extractors.
Closing this epic.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Parent epic for improving test coverage across the project.
Current state
The core library types (Node, Nodes, Cookie, CookieJar, Readability, DeferClose) have good unit test coverage with mock implementations. However, all site-specific extractors (duckduckgo, google, powerball, megamillions, wegmans, aislegopher, archive, useragents) have no meaningful tests because they require a live browser.
Scope
Sub-tasks
Will be linked as they are created.
Sub-tasks
Resolved by PR #43 — added
extractortestpackage with exported mock implementations and HTML fixture-based tests for multiple extractors.Closing this epic.