Open JakeYallop opened 3 months ago
The executable supports passing --mockData
since https://github.com/JakeYallop/WaybackDownloader/commit/6c2e2576a1cb663ec52260250806bf39b48e7c06 - the smoke test should use --mockData
as a first test, then try a second time making a real request (to test the actual code path that will normally be used).
Is there a way we fake it so that although our code makes a real request using the real HttpClientHandler
, we still return mock data from somewhere else? Not actually hitting the wayback machine servers for testing would be ideal.
Run a smoke test in CI - run the published executable with something like
Do we want to add a way to limit snapshot page size? The CDX server supports a
pageSize
parameter.