Skip to content

Discussion: Testing #16

@mintopia

Description

@mintopia

Speaking to @astrolox about how to go about testing the cache images.

Initial thoughts:

  1. Attempt to download file directly, hash and save.
  2. Clear cache data directory
  3. Attempt to download file through cache. Ensure we have a cache miss, compare hash to original download
  4. Attempt to download file again through cache, Ensure we have a cache hit, compare hash to original and previous version.

This only covers a simple case though. It would be good for advanced options for testing range requests, etag headers, etc.

Other people's thoughts and comments?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions