Skip to content

ngclient testing: client workflow sequences #1606

@sechkova

Description

@sechkova

Description of issue or feature request:

If needed, narrow down the scope of this issue and spawn separate ones for top-level metadata update, delegations metadata update, Fetching targets.

edit: This issue deals with top-level-metadata updates. Delegated roles and targets will be covered #1641 #1642 #1643 .

Following the high-level steps described in #1579 implement tests for the various client workflow sequences:

  • Tests scenarios from specification (Can we mark these to be our conformance tests?)
  • Specific sequences the client should be able to handle go here
  • Extracted useful scenarios from legacy tests
  • Specific python-tuf sequences (for ex. loading and validating local metadata)

Decide what we want to test sometimes and what should be always included:

  • errors / no errors
  • what metadata is downloaded?
  • what metadata is read from disk?
  • what metadata is on disk afterwards?
  • are the currently loaded metadata versions correct?
  • (some of the same bullet points repeated for targets)
  • ? more ?

The tests should be RepositorySimulator based.

Metadata

Metadata

Assignees

Labels

backlogIssues to address with priority for current development goalsngclienttesting

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions