We should have some infrastructure or documentation that details the common edge cases that new ImageBuilder features need to test against. Some examples include:
Adding images
Removing images
Adding tags
Removing tags
All images cached
No images cached
Retry when the command failed
Retry when a previous pipeline step failed
Retry when a subsequent pipeline step failed (meaning - commands should be idempotent)
ImageInfo is updated mid-publish
This documentation should guide future implementation of tests. For the next feature we implement, we may find it useful to add some common definitions of test data for these scenarios.
Context: https://github.com/dotnet/docker-tools/issues/1493#issuecomment-2468542699
We should have some infrastructure or documentation that details the common edge cases that new ImageBuilder features need to test against. Some examples include:
This documentation should guide future implementation of tests. For the next feature we implement, we may find it useful to add some common definitions of test data for these scenarios.
Documentation should go in
README.md
,src/Microsoft.DotNet.ImageBuilder/README.md
, or a newCONTRIBUTING.md
file.