Skip to content

Download Testing Infrastructure #20

Description

@Integer-Ctrl

Currently, only the download of a collection and downloads using SPARQL queries are tested, and these tests are very basic. To ensure reliability, the client needs more complete automated tests for all download features.

Proposed features:

  • Improve existing tests
    • e.g., verify SHASUM of all downloaded files
  • Test all download features and CLI options
  • Add tests for intended failures (e.g., non-existing resources, missing permissions)

Advanced:
Currently, the download tests depend on the remote Databus server. This effectively makes them integration tests rather than isolated unit tests. A better approach would be to create a local dummy Databus for testing core functionality offline.
This could include:

  • A local HTTP server simulating Databus responses
  • A small dummy dataset with the structure account/group/artifact/version and a collection example to test all the download features

Metadata

Metadata

Assignees

No one assigned

    Labels

    downloadIssue related to data download functionality from databus

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions