Skip to content

What is the best test image for integration testing? #1236

@armintaenzertng

Description

@armintaenzertng

As I'm currently updating the SPDX output of tern, I noticed that this part of the code does not seem to be tested (please correct me if I'm wrong and overlooked something).
To make sure that the old and new SPDX generators actually produce the same output, I'd like to include at least an integration test for the workflow starting from an Image and resulting in an SPDX JSON file.

Now, what would be a good test image for this endeavor? Are there any existing test images that I could use?
The SPDX output I get with tern report -x scancode -i golang:1.12-alpine is 120k lines long, which sounds like overkill, but I'm not quite sure which parts of the image could be dropped while maintaining full test coverage, or if this actually covers everything.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions