Page MenuHomeSoftware Heritage

Add a way to share tests between vault cookers
Open, NormalPublic

Description

Some cooker tests will ALWAYS follow the same pattern:

  • create a directory and put some stuff in it
  • import the directory/revision with one commit pointing to that directory/...
  • cook it
  • check that the stuff in the exported directory is the same as the stuff in the imported directory.

We should factor that, so that we can check for all cookers that, for instance:

  • using binary paths works
  • all permission types work
  • complex paths work

All these should be only written only once, and the processus by which it is tested is then cooker-dependant, but not test-dependant.

Event Timeline

seirl created this task.Nov 7 2017, 6:54 PM
seirl triaged this task as Normal priority.