python-tuf icon indicating copy to clipboard operation
python-tuf copied to clipboard

Testing with old and new generated metadata files

Open MVrachev opened this issue 3 years ago • 1 comments

Description of issue or feature request: We have generated a new set of metadata files with #1915. Now we have two folders containing metadata files:

It makes sense to tests with both of them - repository_data was generated by the old client and we want to test that we are still compatible with it and the generated_data are folders containing metadata files generated with python-tuf version 1.0.0 and above.

It will be good to find a way to run part or all tests with metadata files from both folders.

Current behavior: Testing only with tests/repository_data.

TO DO:

  • [ ] Decide which tests should use the old repository_data and which generated_data.
  • [ ] Change the tests according to the decision.

MVrachev avatar Mar 23 '22 15:03 MVrachev

I think i can work upon it. some questions -

  1. do i have to modify all the tests so that all tests can work on both the folders.?
  2. all tests run in specific order or their running order is random ?
  3. is this issue active ?
  4. any suggestions or tips which can help me ?

aditya-shrivastavv avatar Dec 28 '22 15:12 aditya-shrivastavv