Skip to content

tests: static test data generation #1806

Closed
@jku

Description

@jku

current state:

  • most client tests use a repository that is generated live during the test (RepositorySimulator)
  • there is (and should be) static test data as well, see tests/repository_data/
  • test data was generated with scripts that used the legacy codebase but it's not clear if the scripts and the data are actually up to date (or if the data has been manually modified)
  • scripts are now removed as legacy code is removed (Rm all legacy #1790)

We will want to modify the static files at some point (e.g. we should make the files consistent_snapshot), so we should have easy ability to do so. I believe that means we should

  • generate the static files with a script that uses metadata API
  • possibly verify at test runtime that the script result is unchanged -- this would give us additional confirmation that we are not changing things (even superficially) in our serialisation format.

Metadata

Metadata

Assignees

Labels

backlogIssues to address with priority for current development goalstesting

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions