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

More auto discovery tests #426

Merged
merged 2 commits into from
Dec 11, 2024
Merged

More auto discovery tests #426

merged 2 commits into from
Dec 11, 2024

Conversation

oguzkocer
Copy link
Contributor

This PR adds most of the test cases from #265. The successful test cases were already working, except for one case where we needed to add some reqwest features to handle different response types.

It adds one test for handling an error case. This is currently bare bones as we are not confirming what type of error we are getting. We'll be working on improving the url discovery result type. Once that's complete we can improve on this test.

Note that with this PR, the only remaining case in #265 is https://aggressive-caching.wpmt.co which requires us to implement full html parsing to find the link header. This will happen in a separate PR.

@oguzkocer oguzkocer added this to the 0.2 milestone Dec 4, 2024
@oguzkocer oguzkocer requested a review from jkmassel December 4, 2024 13:53
@oguzkocer oguzkocer enabled auto-merge (squash) December 4, 2024 13:53
@oguzkocer oguzkocer merged commit 0641484 into trunk Dec 11, 2024
23 checks passed
@oguzkocer oguzkocer deleted the more_auto_discovery_tests branch December 11, 2024 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants