Skip to content

Investigate using synthetic images for unit testing #203

@antond-weta

Description

@antond-weta

We currently have decent unit test coverage of the core functionality, which is mostly math functions.

In order to have some end-to-end testing we need test images. Ideally we'd need one or several raw images for each camera we have in the database, and the corresponding reference .exr images. That is a lot of data to obtain, host, and to get onto the CI runners.

We should look at potentially creating synthetic images for testing on the fly. For the camera which we have spectral sensitivity curves for, we can predict the pixel values the camera would have under given lighting conditions. We could look at generating fake colour chart images on the fly, pass them through rawtoaces and look how the output colour values match up with the expected values.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions